ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 396 of 545 2020-04-15
3.13.22. AT#SI - Socket Info
This command is used to get socket information.
AT#SI[=<connId>]
Execution command returns information about all sockets data traffic.
Parameter:
socket connection identifier. Refer to Additional info sections to
have information about the use of the <connId> parameter
socket connection identifier. conMax value is returned by test
command
If the execution command is used with the <connId> socket identifier, it returns data traffic
information on the selected socket. The format of the returned message is:
#SI: <connId>,<sent>,<received>,<buff_in>,<ack_waiting>
total amount (in bytes) of data sent since the last
time the socket connection identified by
<connId> has been opened
total amount (in bytes) of received data since the
last time the socket connection identified by
<connId> has been opened
total amount (in bytes) of data just arrived
through the socket connection identified by
<connId> and currently buffered, not yet read
total amount (in bytes) of sent and "not yet
acknowledged data" since the last time the
socket connection identified by <connId> has
been opened. The data "not yet acknowledged"
are available only for TCP connections.
For UDP connections <ack_waiting> value is
always 0.
If the AT#SI command is used without the <connId> socket identifier, it returns data traffic
information on all sockets. For each socket, the format of the returned message is:
#SI: <connId
n
>,<sent
n
>,<received
n
>,<buff_in
n
>,<ack_waiting
n
>