UC864
UC864
UC864
UC864----E/G/WD/WDU
E/G/WD/WDU
E/G/WD/WDU
E/G/WD/WDU AT Commands Reference Guide
AT Commands Reference Guide
AT Commands Reference Guide
AT Commands Reference Guide
80304ST10041a Rev. 6
80304ST10041a Rev. 6
80304ST10041a Rev. 6
80304ST10041a Rev. 6 ---- 2010
2010
2010
2010----0
00
05
55
5----20
20
20
20
Reproduction forbidden without Telit Communications S.p.A’s. written authorization - All Rights Reserved.
Page 255 of 329
#SI
#SI
#SI
#SI ---- Socket Info
Socket Info
Socket Info
Socket Info
#SI: <connId>,<sent>,<received>,<buff_in>,<ack_waiting>
#SI: <connId>,<sent>,<received>,<buff_in>,<ack_waiting>
#SI: <connId>,<sent>,<received>,<buff_in>,<ack_waiting>
#SI: <connId>,<sent>,<received>,<buff_in>,<ack_waiting>
where:
<connId>
<connId>
<connId>
<connId>
-
socket connection identifier, as before
<sent>
<sent>
<sent>
<sent> - total amount (in bytes) of sent data since the last time the socket
connection identified by <connId>
<connId>
<connId>
<connId> has been opened
<received>
<received>
<received>
<received> - total amount (in bytes) of received data since the last time the
socket connection identified by <connId>
<connId>
<connId>
<connId> has been opened
<
<<
<buff_in>
buff_in>
buff_in>
buff_in> - total amount (in bytes) of data just arrived through the socket
connection identified by <connId>
<connId>
<connId>
<connId> and currently buffered, not
yet read
<ack_waiting>
<ack_waiting>
<ack_waiting>
<ack_waiting> - total amount (in bytes) of sent and not yet acknowledged
data since the last time the socket connection identified by
<connId>
<connId>
<connId>
<connId> has been opened
Note: not yet acknowledged data are available only for TCP connections;
the value <ack_waiting>
<ack_waiting>
<ack_waiting>
<ack_waiting> is always 0 for UDP connections.
Note: issuing #SI<CR>
#SI<CR>
#SI<CR>
#SI<CR> causes getting information about data traffic of all
the sockets; the response format is:
#SI: <connId1>,<sent1>,<received1>,<buff_in1>,<ack_waiting1>
#SI: <connId1>,<sent1>,<received1>,<buff_in1>,<ack_waiting1>
#SI: <connId1>,<sent1>,<received1>,<buff_in1>,<ack_waiting1>
#SI: <connId1>,<sent1>,<received1>,<buff_in1>,<ack_waiting1>
<CR><LF>
<CR><LF>
<CR><LF>
<CR><LF>
…
…
…
…
#SI: <connId6>,<sent6>,<received6>,<buff_in6>,<ack_waiting6>
#SI: <connId6>,<sent6>,<received6>,<buff_in6>,<ack_waiting6>
#SI: <connId6>,<sent6>,<received6>,<buff_in6>,<ack_waiting6>
#SI: <connId6>,<sent6>,<received6>,<buff_in6>,<ack_waiting6>
AT#SI=?
AT#SI=?
AT#SI=?
AT#SI=?
Test command reports the range for parameter <connId>
<connId>
<connId>
<connId>.
Example
AT#SI
#SI: 1,123,400,10,50
#SI: 2,0,100,0,0
#SI: 3,589,100,10,100
#SI: 4,0,0,0,0
#SI: 5,0,0,0,0
#SI: 6,0,98,60,0
OK
Sockets 1,2,3,6 are opened with some data traffic.
For example socket 1 has 123 bytes sent, 400 bytes received,10 byte waiting to be
read and 50 bytes waiting to be acknowledged from the remote side.
AT#SI=1
#SI: 1,123,400,10,50
OK