22.03.2013 Views

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

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

13.12 +iSCLS — Close Socket<br />

Syntax: <strong>AT+i</strong>[!]SCLS:<br />

Parameters:<br />

Command Options:<br />

Result Code:<br />

Closes a TCP/UDP socket.<br />

Direct Socket Interface<br />

If the socket is the only open socket and the stay online flag (!) is<br />

not specified, iChip terminates the Internet session and goes<br />

offline.<br />

A TCP/UDP socket handle of an open socket<br />

Must have been obtained by a previous execution of an<br />

<strong>AT+i</strong>LTCP, <strong>AT+i</strong>STCP or <strong>AT+i</strong>SUDP command during the<br />

current Internet mode session. Or a socket accepted by a<br />

listening socket.<br />

A socket is always flushed before being closed. TCP sockets are<br />

disconnected from the remote host server in an orderly manner.<br />

! Stay online after completing the command.<br />

I/OK If is a handle to an open socket<br />

I/ERROR Otherwise<br />

Followed by:<br />

I/DONE After successfully closing the last open socket. Allow a 2.5<br />

seconds delay for iChip re-initialization following an Internet<br />

mode session.<br />

-or-<br />

I/ONLINE After successfully closing the socket, while additional sockets<br />

are still open or if the stay online flag (!) is specified.<br />

-or-<br />

I/ERROR Otherwise<br />

<strong>AT+i</strong> Programmer‘s <strong>Manual</strong> Version 8.21 13-14

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!