Vodafone K3770/K3772-Z modems driver & networking library
Dependencies: Socket USBHostWANDongle lwip-sys lwip
Dependents: VodafoneUSBModemHTTPClientTest VodafoneUSBModemNTPClientTest VodafoneUSBModemSMSTest VodafoneUSBModemUSSDTest ... more
Fork of VodafoneUSBModem_bleedingedge by
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 41 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 47 of file USSDInterface.cpp.
Generated on Tue Jul 12 2022 12:11:28 by 1.7.2