User's Manual

ER-600 User Manual
62
Examples:
Send “1234” with ASCII encoding to 13812345678:
AT+SMS=13812345678,1,4,31323334\r
Below is the command shown in hexadecimal:
41 54 2B 53 4D 53 3D 31 33 38 31 32 33 34 35 36 37 38 2C 31 2C 34 2C
33 31 33 32 33 33 33 34 0D
Use 8bit encoding to send “1234”to 13812345678:
AT+SMS=13812345678,2,4,31323334\r
Below is the command shown in hexadecimal:
41 54 2B 53 4D 53 3D 31 33 38 31 32 33 34 35 36 37 38 2C 32 2C 34 2C
33 31 33 32 33 33 33 34 0D
Use Unicode encoding to send “你好to 13812345678:
AT+SMS=13812345678,3,4,4F60597D\r
Below is the command shown in hexadecimal:
41 54 2B 53 4D 53 3D 31 33 38 31 32 33 34 35 36 37 38 2C 33 2C 34 2C
34 46 36 30 35 39 37 44 0D
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: