User's Manual
ER-600 User Manual
61
1) In the left part “Client”, input ER-600’s Ethernet IP address “192.168.1.1” in “IP
Address/Name”, and ER-600’s listening port “8888” in “Port”, then click
“Connect” to establish TCP connection with ER-600; if “Connected” is shown
Connection Status, that means TCP Test Tool has connected to ER-600’s
listening port.
2) Input AT+SMS or AT+SMSA command in box “Edit/Send Data”, and pay
attention to end with CR, then click “send”; if “OK” is shown in box “Edit/Data
Log”, that means the command has been sent successfully.
NOTE:
1) Currently receiving long SMSs is supported, but sending long SMSs is not
supported, i.e. the length of messages in English cannot exceed 160 characters,
and the length of messages in Chinese cannot exceed 70 words.
2) AT commands must end with CR (0x0d), expressed below as “\r”.
1. Using AT command to send short messages
1) Special AT command for sending short messages with ASCII encoding via
serial port:
AT+SMSA=<target number>,<data length>,<data>\r
DTU will send the following reply:
\r\nOK\r\n
Or:
\r\nERROR\r\n
Target Number: Phone number to receive the short message
Data Length: The actual data length behind
Data: The data to be sent, MUST with ASCII encoding.
Examples:
Send “1234” with ASCII encoding to 13812345678:
AT+SMSA=13812345678,4,1234\r
Below is the command shown in hexadecimal:
41 54 2B 53 4D 53 41 3D 31 33 38 31 32 33 34 35 36 37 38 2C 34 2C 31
32 33 34 0D
2) General AT command for sending short messages via serial port:
AT+SMS=<target number>,<encoding format>,<data length>,<data>\r
DTU will send the following reply:
\r\nOK\r\n
Or:
\r\nERROR\r\n
Target Number:Phone number to receive the short message
Encoding Format: 1:ASCII encoding, 2:8bit encoding, 3:Unicode encoding
Data Length: The actual data length behind
Data: The data to be sent, each byte should be formatted to a 2-byte
hexadecimal number, for instance “1234” should be written as“31323334”.