AT-S.Query:<len>
<len>
Specifies the number of bytes in socket client buffer
6.40
AT+S.SOCKC
To close a socket client.
Usage:
AT+S.SOCKC=<id><cr>
Parameters:
<id>
Socket Client ID
Note:
When a socket client receives an indication about socket server gone (only for TCP/TLS sockets,
WIND:58), the socket resource is not automatically cleared. Moreover, flushing pending data (using the AT
+S.SOCKR command) is mandatory before closing the socket connection (AT+S.SOCKC). If the buffer is not
empty, the “ERROR:Pending data” is raised.
6.41
AT+S.SOCKW
To write data to a socket client. The host is expected to send
<length>
characters of data after the end of the
command.
Usage:
AT+S.SOCKW=<id>,<length><cr>{data}
Parameters:
<id>
Socket Client ID
<length>
Data length to send (in bytes)
6.42
AT+S.SOCKR
To read data from a socket client.
Usage:
AT+S.SOCKR=<id>,[<length>]<cr>
Parameters:
UM2114
AT+S.SOCKC
UM2114
-
Rev 3
page 28/66