Socket restore #so, Syntax, Parameters and values – Synaccess Networks NP-0801DTM User Manual

Page 226: Socket listen #sl

Advertising
background image

 

CUSTOM AT COMMANDS

 

HSPA+ AT Commands Reference Guide 

226

 

Open socket 1 in command mode  

AT#SD=1,0,80,”www.google.com”,0,0,1

OK

Socket Restore   #SO 

Execute command resumes the direct interface to a socket connection which is suspended by the escape 
sequence. 

Test command reports the range of values for <connId> parameter. 

Syntax 

Command 

Command type 

AT#SO=<connId> 

Execute 

AT#SO=? 

Test 

Parameters and Values 

<connId> 

Socket connection identifier. 

1‐6 

 

Socket Listen   #SL 

This command opens/closes a socket listening for an incoming TCP connection on a specified port. 

Read command returns all the actual listening TCP sockets. 

Test command returns the range of supported values for all the subparameters. 

Syntax 

Command 

Command type 

AT#SL=<connId>,<listenState>,<listenPort>>[,<closure type>] 

 

AT#SL? 

Read 

AT#SL=? 

Test 

Parameters and 

V

alues 

<connId> 

Socket connection identifier. 

1‐6 

 

<listenState> 

 

Closes socket listening. 

Starts socket listening. 

<listenPort> 

Local listening port. 

1‐65535 

 

<closure type> 

Socket closure behavior for TCP. 

Local host closes immediately when remote host has closed. Default: 0

255 

Local host closes after an escape sequence (+++). 

Advertising