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.
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