Chapter 9
TCP Socket Communication Service
Similar to email sending service, this feature lets the modem sending raw TCP message, up to 256 bytes, to a TCP
server. Useful for M2M communication client to send data to server without any kind of protocol overhead. It can be
also used with Command String for sending status of plug-in board.
The socket communication service is one way only. Data sent in the direction from server to modem during connection
is discarded.
9.1 Description of the Operation
1. Enter the following information by AT commands (see following sections):
(a) TCP server information (address, port, retry).
(b) TCP message content.
2. Make IP connection (see Chapter 2).
3. Use AT+SCSEND command to send out message, or a message can contain maximum up to 128 (pre-stored)
+ 128 (command line additional) characters.
9.2 TCP socket
AT+SCHOST
This command is to set TCP server parameters.
Syntax: AT+SCHOST=<oper>,<id>[,<address>,<port>,<retry>,<delay>,<type>]
Response: +SCHOST: <id>,<address>,<port>,<retry>,<delay>,<type>
Defined Values:
<oper> type of operation:
0 enter host settings.
1 read host settings.
2 erase entered host settings.
<id> identification number of the host setting to be accessed. Valid value is 1 to 10.
<server> IP address of host (in xxx.xxx.xxx.xxx format) or an alpha numeric string format (e.g. myhost.com).
Maximum 120 characters. Note: if alpha numeric string format is used, make sure the cellular network
has proper DNS service available.
<port> port number of the host server. Valid range is 1 to 65535.
<retry> number of retry after the first connection unsuccessful. Each retry will be delayed according to <delay>
parameter. Default value is 0 (no retry). Valid range is 0 to 10.
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
support@maestro-wireless.com
51