User's Manual

Table Of Contents
Remote AT+i Service
AT+i Programmer‘s Manual Version 8.32 33-1
33 Remote AT+i Service
33.1 Introduction
The
LATI parameter allows configuring iChip to maintain a communication channel that
supports interacting with iChip from a remote location using the AT+i command set as if
the commands are administered through the local serial port. When LATI is set to a non-
zero value, iChip opens a TCP listening socket on port <LATI>. In a dial-up
environment, this occurs only after the PPP connection is established. This listening
socket can be used to connect to iChip‘s remote AT+i service.
33.2 Remote AT+i Commands
When a remote client connects to iChip‘s LATI socket, iChip redirects the socket‘s data
flow to the AT+i parser, in effect allowing the socket to take over the parser. Any data
coming from the socket is processed by iChip as if it came from the host serial port and
the replies are returned to the socket instead of being sent to the host serial port. iChip
replies with an I/BUSY to commands coming from the host serial port, while the remote
client is connected.
An exception to this is the (+++) escape sequence. On detection of (+++) from the host
serial port, iChip closes the remote connection and reboots.
If iChip was in the process of performing some Internet activity initiated by the host at
the time the remote client connected, iChip allows this activity to end and the final reply
to reach the host before passing control over the parser to the remote client.
33.3 Closing A Remote AT+i Session
To close a remote AT+i session, the remote client can choose to issue AT+iDOWN via
the socket. In response to this, iChip restarts. Only I/OK is returned over the socket
before it is closed by iChip. Alternatively, the remote client can close the socket in order
to disconnect, leaving iChip‘s Internet session as-is. In the latter case, iChip returns
control over the parser to the local host port. The LATI listen remains active, available to
service additional remote connections. After a LATI session is closed, the LSR (last
session error) web parameter contains the value 096 to indicate that a LATI session has
been disconnected.
Note: (+++) sent over the LATI socket is not recognized as an escape sequence.
33.4 Caveats and Restrictions
When iChip in dial-up mode is in auto baud rate detection mode (after re-starting with
BDRF=a or in response to the AT+iBDRA command), a remote AT+i session cannot
be established, even if the LATI parameter contains a port value.
In iChip LAN the remote AT+i service is available, even if iChip LAN is in auto baud
rate detect mode. However, once the remote AT+i connection is established, iChip
LAN will no longer be in auto baud rate mode and the host will be able to send the
(+++) escape sequence only at 9600 baud, if it needs to close the remote session.