|
ioPAC RTU Controllers
C/C++ Sample Code Programming Guide
|
Send a SMS Sample More...
Functions | |
| void | usage (void) |
| int | main (int argc, char **const argv) |
Send a SMS Sample
Introduction: This sample code shows how to send a SMS by MOXA SMS API. Example: Execute the sample code to send a SMS to phone number 0912345678: ./sms_send -p0912345678 -c 1234 -m "SMS content" Default: The default PIN code is 0000. The default message is "SMS test". Help:
root@Moxa:/home#./sms_send -h
Send a SMS
Usage: ./sms_send [OPTIONS]
Options:
-p Phone number
-c SIM PIN
-m SMS content in ASCII
-u Send message:"SMS test" in UCS2 encoded Library:
SMS send APIs
| void usage | ( | void | ) |
| int main | ( | int | argc, |
| char **const | argv | ||
| ) |
1.8.11