PLC-505 User Manual
64
2.
The received SMS messages will be output via the serial port in the format
below:
1)
Format for SMS messages received with ASCII encoding
If the content of received SMSs is in ASCII format, the output is in the
following format:
\r\n+SMSA:<phone number>,<data length>,<data>\r\n
Examples:
“1234” received from 13812345678 in ASCII format:
\r\n+SMSA:13812345678,4,31323334\r\n
If the received SMS has more than one message, the format is as below:
\r\n+SMSAL:<identifier>,<total>,<sequence
number>,<phone
number>,<data length>,<data>\r\n
The messages with the same identifier can be assembled into one long
SMS.
For example, a long SMS is received from 10001, with identifier 05000376,
total 4 messages, and below is the fourth message:
\r\n+SMSAL:05000376,4,4,10001,6,123456
2)
Format for SMS messages received with encodings other than ASCII
If the content of received SMSs is not in ASCII encoding, for example with
Chinese characters, the output is in the following format:
\r\n+SMS:<phone
number>,<encoding
format>,<data
length>,<data>\r\n
Examples:
“1234” received from 13812345678 in 8bit encoding:
\r\n+SMS:13812345678,2,4,31323334\r\n
“
你好
” received from 13812345678 in Unicode encoding:
\r\n+SMS:13812345678,3,4,4F60597D\r\n
If the received SMS has more than one message, the format is as below:
\r\n+SMSL:<identifier>,<total>,<sequence
number>,<phone
number>,<encoding format>,<data length>,<data>\r\n
The messages with the same identifier can be assembled into one long
SMS.
For example, a long SMS is received from 10001, with identifier 05000376,
total 4 messages, and below is the fourth message:
\r\n+SMSL:05000376,4,4,10001,3,6,007600793002
Summary of Contents for PLC-505
Page 7: ...PLC 505 User Manual 7 Figure 1 4 WIFI antenna Figure 1 5 GPS antenna ...
Page 16: ...PLC 505 User Manual 16 Figure 1 13 Use PLC 505 to access LAN remotely via VPN ...
Page 18: ...PLC 505 User Manual 18 ...
Page 22: ...PLC 505 User Manual 22 Figure 2 4 Configure serial functionality ...
Page 36: ...PLC 505 User Manual 36 Figure Appendix 1 9 Add device ...