<id>
Socket Client ID
<length>
Defaut:0. Length (in bytes) of the buffer to read. The value 0
indicates to read the full buffer
6.43
AT+S.SOCKL
To list opened socket clients.
Usage:
AT+S.SOCKL<cr>
Parameters:
None
Result:
AT-S.List::<id>:<connected>:<kind>:<len>:<IP>:<port>
<id>
Specifies the socket client identifier
<connected>
Specifies whether socket client is connected to socket server
<kind>
Specifies the kind of socket client
<len>
Specifies the number of bytes in socket client buffer
<IP>
Specifies the server IP address
<port>
Specifies the client port
6.44
AT+S.SOCKDON
To open a socket server. The device can manage up to 2 socket servers each supporting 8 socket clients. The
command returns the server socket ID to be used in the related commands.
Usage:
AT+S.SOCKDON=<port>,<kind><cr>
Parameters:
<port>
socket port
<kind>
specifies the kind of socket as one of the following:
•
t → tcp
•
u → udp
•
s1 → TLS socket with one-way authentication
•
s2 → TLS socket with mutual authentication
UM2114
AT+S.SOCKL
UM2114
-
Rev 3
page 29/66