Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed-TFT-example-NCS36510 mbed-Accelerometer-example-NCS36510 mbed-Accelerometer-example-NCS36510
USSDInterface Class Reference
Component to send/receive Unstructured Supplementary Service Data (USSD) More...
#include <USSDInterface.h>
Inherits IATCommandsProcessor, and IATEventsHandler.
Public Member Functions | |
USSDInterface (ATCommandsInterface *pIf) | |
Create USSDInterface instance. | |
int | init () |
Initialize interface Configure USSD commands & register for USSD-related unsolicited result codes. | |
int | send (const char *command, char *result, size_t maxLength) |
Send a USSD command & wait for its result. | |
Friends | |
class | ATCommandsInterface |
class | ATCommandsInterface |
Detailed Description
Component to send/receive Unstructured Supplementary Service Data (USSD)
Definition at line 32 of file USSDInterface.h.
Constructor & Destructor Documentation
USSDInterface | ( | ATCommandsInterface * | pIf ) |
Create USSDInterface instance.
- Parameters:
-
pIf Pointer to the ATCommandsInterface instance to use
Definition at line 34 of file USSDInterface.cpp.
Member Function Documentation
int init | ( | ) |
Initialize interface Configure USSD commands & register for USSD-related unsolicited result codes.
Definition at line 40 of file USSDInterface.cpp.
int send | ( | const char * | command, |
char * | result, | ||
size_t | maxLength | ||
) |
Send a USSD command & wait for its result.
- Parameters:
-
command The command to send result Buffer in which to store the result maxLength Maximum result length that can be stored in buffer (including null-terminating character)
- Returns:
- 0 on success, error code on failure
Definition at line 46 of file USSDInterface.cpp.
Generated on Tue Jul 12 2022 11:03:19 by
