Technical information
General AT+i Command Format
1-10 AT+i Commands Reference Manual May 31, 2008
Socket Interface
STCP:<host>,
<port>[,<lport>
]
Socket TCP Opens and connects a TCP socket. If W24 is not online,
it is connected. The responding system is assumed to be
a server listening on the specified socket. Returns a
handle to the socket.
SUDP:
<host>,<rport>
[,<lport>]
Socket UDP Opens, connects, and optionally binds a UDP socket. If
W24 is not online, it is connected. Returns a handle to
the socket.
LTCP:<port>,
<backlog>
Listening socket Opens a TCP listening socket on <port>. Allows a
maximum of <backlog> concurrent connections. Returns
a handle to the socket. Up to two listening sockets are
supported.
LSST:<hn> Listening socket status Returns a list of active socket handles accepted for a
listening socket identified by handle <hn>.
SST:<hn> Single socket status Returns status of a single socket identified by handle
<hn>. A subset of RP4 report.
SCS:<hn> Socket connection status Returns status of a single socket identified by handle
<hn>. A subset of RP4 report. Does not report number of
buffered characters.
SSND[%]:<hn>,
<sz>:<stream>
Socket send Sends a byte stream of size <sz> to the socket identified
by handle <hn>. The % flag indicates automatic socket
flush.
SRCV:<hn>
[,<max>]
Socket receive Receives a byte stream from the socket identified by
handle <hn>. Accepts up to <max> bytes. If <max> is
not specified, all available bytes are retrieved.
GPNM:<hn> Get peer name Retrieves peer name (<IP>:<port>) of a remote
connection to the TCP/UDP socket specified by socket
handle <hn>.
SDMP:<hn> Dump socket buffer Dumps all buffered data currently accumulated in a
socket's input buffer. The socket remains open.
SFSH[%]:<hn> Flush socket's outbound
data
Flushes (sends immediately) data accumulated in a
socket's outbound buffer. If the flush-and-acknowledge
flag (!) is specified, W24 waits for peer to acknowledge
receipt of the TCP packet.
[!]SCLS:<hn> Close socket Closes a TCP/UDP socket. If that socket is the only
socket open and the stay online flag (!) is not specified,
W24 terminates the Internet session and goes offline.
SSL:<hn> SSL3/TLS1 socket
connection
Negotiates an SSL3/TLS1 connection over an active
TCP socket.
Special Modem Command
MCM Interlaced modem
command
Sends an interlaced AT command to the modem while it
is online.
Table 1-1: AT+i Commands by Category (Cont.)
Command Function Parameters/Description










