The WDCInterface is is a drop-in replacement for an EthernetInterface class that allows the user to connect to the Internet with a Wistron NeWeb Corporation (WNC) M14A2A Series data module using the standard network Socket API's. This interface class is used in the AT&T Cellular IoT Starter Kit which is sold by Avnet (http://cloudconnectkits.org/product/att-cellular-iot-starter-kit).
Dependencies: WncControllerK64F
Dependents: WNCProximityMqtt Pubnub_ATT_IoT_SK_WNC_sync BluemixDemo BluemixQS ... more
SMSInterface Class Reference
Virtual calss for IoT Short Messages Service (SMS) More...
#include <SMS.h>
Public Member Functions | |
| virtual int | init ()=0 |
| Initialize interface. | |
| virtual int | send (const string &number, const string &message)=0 |
| Send a SM. | |
| virtual int | get (string &number, string &message)=0 |
| Receive a SM. | |
Detailed Description
Virtual calss for IoT Short Messages Service (SMS)
Definition at line 30 of file SMS.h.
Member Function Documentation
| virtual int get | ( | string & | number, |
| string & | message | ||
| ) | [pure virtual] |
Receive a SM.
- Parameters:
-
msg_orig string containing the sender's phone number Pointer to a string that contains the incoming message
- Returns:
- 0 on success, error code on failure
| virtual int init | ( | ) | [pure virtual] |
Initialize interface.
| virtual int send | ( | const string & | number, |
| const string & | message | ||
| ) | [pure virtual] |
Send a SM.
- Parameters:
-
number The receiver's contact number message The message to send
- Returns:
- 0 on success, error code on failure
Generated on Tue Jul 12 2022 20:19:35 by
1.7.2