AT+i Programmer's Manual - SE Spezial-Electronic AG
AT+i Programmer's Manual - SE Spezial-Electronic AG
AT+i Programmer's Manual - SE Spezial-Electronic AG
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
SerialNET Theory of Operation<br />
If the iChip is online at the time this command is issued, it closes the Internet session in<br />
an orderly manner. This includes closing all open sockets and disconnecting from the ISP<br />
in a modem environment.<br />
When iChip boots up in SerialNET mode, it sets the host serial channel to the fixed baud<br />
rate and serial interface parameters defined in the SNSI parameter. iChip in LAN mode<br />
opens the SerialNET listening socket (if it is defined in the LPRT parameter) and, if<br />
defined, launches the web server.<br />
In an iChip dial-up environment, the modem is polled for the RING string. If the ringresponse<br />
destination e-mail parameter (RRMA) or ring-response server parameter<br />
(RRSV) contain values, iChip waits for the RING strings to subside and connects to the<br />
Internet. Once online, it sends an e-mail to the RRMA address (if defined) and/or<br />
establishes a socket to the address in RRSV (if defined). The transmission contains the<br />
dynamic IP address received from the ISP and its listening port, on which iChip has an<br />
open listening socket, ready to serve the remote client.<br />
iChip goes offline if one of the following events occurs:<br />
The remote peer closes the SerialNET socket.<br />
The IATO parameter is defined and times out.<br />
The terminating string defined in the DSTR parameter is received.<br />
When the optional (!) (Auto-Link mode) flag is specified, iChip immediately goes online<br />
in response to the <strong>AT+i</strong>!SNMD command, opens the SerialNET listening socket (if it is<br />
defined in the LPRT parameter) or attempts to establish a socket to an HSRn address (if<br />
any HSRn is defined and LPRT is not). In this case, if one of the terminating events<br />
occurs, iChip does not go offline. Rather, the SerialNET socket is closed while iChip<br />
stays online and opens the listening or active socket again, after waiting the SNRD delay.<br />
When the optional (@) (Deferred Connection mode) flag is specified, iChip immediately<br />
goes online in response to the AT+I@SNMD command. It opens the SerialNET listening<br />
socket (if it is defined in the LPRT parameter) but does not attempt to establish a socket<br />
to the HSRV address if it is defined. In this case, if one of the terminating events occurs,<br />
iChip does not go offline. Rather, the SerialNET socket is closed while iChip stays online<br />
and opens the listening socket again, after waiting the SNRD delay.<br />
iChip exits SerialNET mode when one of the Escape procedures is activated.