Examples, Notes, Socket type #st – Synaccess Networks NP-0801DTM User Manual

Page 215: Syntax

Advertising
background image

CUSTOM AT COMMANDS 

 

 

215 

HSPA+ AT Commands Reference Guide

 

the socket connection identified by <connId> is opened.
Note: Not yet acknowledged data are available only for TCP connections; the 
value <ack_waiting> is always 0 for UDP connections. 

Examples 

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

#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

 

Information only about socket number 1 

AT#SI=1

#SI: 1,123,400,10,50

OK

Notes 

„

Issuing #SI<CR> causes getting information about data traffic of all the sockets; the response format is:  

#SI: <connId1>,<sent1>,<received1>,<buff_in1>,<ack_waiting1> 

<CR><LF> 

… 

#SI: <connId6>,<sent6>,<received6>,<buff_in6>,<ack_waiting6> 

Socket Type   #ST 

Set command reports the current type of the socket ( TCP/UDP ) and its direction ( Dialer / Listener ). 

Test command reports the range for parameter <connId>. 

Syntax 

Command 

Command type 

Advertising