User's Manual

Table Of Contents
SerialNET Mode Initiation
AT+i Programmer‘s Manual Version 8.32 9-1
9 SerialNET Mode Initiation
9.1 +iSNMD Activate SerialNET Mode
Syntax:
AT+i[! | @]SNMD
Activates SerialNET mode. Instead of using the optional (!)
and (@) flags, you can use the following syntax:
AT+iSNMD=1 is equivalent to AT+iSNMD
AT+iSNMD=2 is equivalent to AT+i!SNMD
AT+iSNMD=3 is equivalent to AT+i@SNMD
AT+iSNMD=4 causes iChip to enter SerialNET-over-
TELNET mode
Command Options:
AT+i!SNMD
-or-
AT+iSNMD=2
Optional Auto-Link mode. When this flag is specified, iChip
immediately goes online when activating SerialNET mode
(even when serial data has not yet arrived). If the LPRT
(Listening Port) parameter is defined, iChip opens the
listening port and awaits a connection. If LPRT is not defined,
but HSRV (Host Server) is defined, iChip immediately opens
a SerialNET socket link to the server.
AT+i@SNMD
-or-
AT+iSNMD=3
Optional Deferred Connection mode. When this flag is
specified, iChip automatically goes online (as in the case of
AT+i!SNMD). However, if the HSRV parameter is defined, a
socket is not opened until data arrives on the local serial port.
If the SerialNET mode listening port is defined (LPRT), iChip
opens a listening socket and waits for a remote connection
during the idle period before data arrives on the local serial
port.
When the SerialNET socket type (STYP) is TCP and serial
data arrives, iChip buffers the data in the MBTB Buffer and
tries to connect to HSR0. If HSR0 does not respond, iChip
tries HSR1, then HSR2. If all three connection attempts fail,
iChip retries them all. After three full retry cycles, iChip
dumps the MBTB buffer and remains idle until new serial
data arrives.
AT+iSNMD=4
Optional SerialNET over TELNET mode. In this mode, iChip
opens a data socket as a TELNET socket, which allows
negotiations of TELNET options over the same socket while
the host is sending and receiving raw data only. This mode
partially supports the RFC2217 standard. For more
information about this mode, refer to the
SerialNET over
TELNET description.