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.

General Format<br />

Command Function Parameters/Description<br />

STCP:, Socket TCP<br />

Socket Interface<br />

Opens and connects a TCP socket. If iChip is not<br />

[,]<br />

online, it is connected. The responding system is<br />

assumed to be a server listening on the specified<br />

socket. Returns a handle to the socket.<br />

SUDP:<br />

Socket UDP Opens, connects, and optionally binds a UDP<br />

,<br />

socket. If iChip is not online, it is connected.<br />

[,]<br />

Returns a handle to the socket.<br />

LTCP:<br />

Listening socket Opens a TCP listening socket on . Allows a<br />

,<br />

maximum of concurrent connections.<br />

Returns a handle to the socket. Up to two listening<br />

sockets are supported.<br />

LSST: Listening socket Returns a list of active socket handles accepted for<br />

status<br />

a listening socket identified by handle .<br />

SST: Single socket status Returns status of a single socket identified by<br />

handle . A subset of RP4 report.<br />

SCS: Socket connection Returns status of a single socket identified by<br />

status<br />

handle . A subset of RP4 report. Does not<br />

report number of buffered characters.<br />

SSND[%]:<br />

Socket send Sends a byte stream of size to the socket<br />

,:<br />

identified by handle . The % flag indicates<br />

automatic socket flush.<br />

SRCV: Socket receive Receives a byte stream from the socket identified<br />

[,]<br />

by handle . Accepts up to bytes. If<br />

is not specified, all available bytes are<br />

retrieved.<br />

GPNM: Get peer name Retrieves peer name (:) of a remote<br />

connection to the TCP/UDP socket specified by<br />

socket handle .<br />

SDMP: Dump socket buffer Dumps all buffered data currently accumulated in a<br />

socket‘s input buffer. The socket remains open.<br />

SFSH[%]: Flush socket‘s Flushes (sends immediately) data accumulated in a<br />

outbound data socket‘s outbound buffer. If the flush-andacknowledge<br />

flag (!) is specified, iChip waits for<br />

peer to acknowledge receipt of the TCP packet.<br />

[!]SCLS: Close socket Closes a TCP/UDP socket. If that socket is the only<br />

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

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

goes offline.<br />

SSL: SSL3/TLS1 socket Negotiates an SSL3/TLS1 connection over an<br />

connection active TCP socket.<br />

<strong>AT+i</strong> Programmer‘s <strong>Manual</strong> Version 8.21 2-4

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

Saved successfully!

Ooh no, something went wrong!