Moxa ioPAC 8020-5-M12-C-T [34/66] Sms api

Moxa ioPAC 8500-2-M12-C-T [34/66] Sms api
Developer's Guide for Moxa RTU Controllers Programmer's Guide
2-26
MX_Cellular_Set_Debug
void MX_Cellular_Set_Debug(UINT8 debug);
This function is for debugging only. Invoke this function to enable/disable debug messages for the cellular API.
Input Parameters
Debug
0: disable
1: enable.
Return Value
None.
Notes
ioLogik W5348-C series only
SMS API
Mx_SMS_Send_Ascii
INT32 Mx_SMS_Send_Ascii(INT8 *phone, INT8 *pin, INT8 *asciiMsg, INT32 msgLength );
Sends an SMS message with content in ASCII format.
Input Parameters
phone
Phone number in C string format; e.g, “0939008056
pin
SIM PIN in C string format; string length must be 4 bytes; e.g., “1234”. If the SIM does not
have
a PIN code, this parameter is ignored.
asciiMsg
User defined SMS ASCII content.
msgLength
The length of asciiMsg in bytes; the maximum length is 160.
Output Parameters
None
Notes
ioLogik W5348-C series only

Содержание

Скачать