
Research & Development
Page
13
of
13
Revision 1.3
2002/7 From 3JTech
Syntax:
AT+iSRCV:<hn>[,<max>]
Description:
Receive a byte stream from the TCP/UDP socket specified by the socket handle
<hn>. Receive data is valid only if it already resides in the iChip’s socket input
buffer at the time this command is issued.
If <max> is not specified, all available bytes residing in the socket input buffer shall
be returned.
Return Code:
I/<sz>[:<binary data stream>] Where, <sz> is the exact size of the binary data
stream to follow. If the socket input buffer is empty, iChip returns I/0. In this case
the ‘:’ and < binary data stream> are omitted. <sz> is guaranteed to be equal or less
than <max>, when specified.
AT+iSDMP - Dump socket buffer
Syntax:
AT+iSDMP:<hn>
Description:
Dump all buffered data currently accumulated in a socket’s input buffer. The socket
remains open.
Return Code:
I/OK If <hn> is a handle to an open socket.
AT +iSCLS - Close Socket
Syntax:
AT+iSCLS:<hn>
Description:
Close a TCP/UDP socket. If the socket was the only open socket and the stay-online
flag (‘!’) was not specified, the iChip will terminate the Internet session and go
offline.