beautypg.com

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

Page 226: Socket listen #sl

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  parameter. 

Syntax 

Command 

Command type 

AT#SO= 

Execute 

AT#SO=? 

Test 

Parameters and Values 

 

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=,,>[,

 

AT#SL? 

Read 

AT#SL=? 

Test 

Parameters and 

V

alues 

 

Socket connection identifier. 

1‐6 

 

 

 

Closes socket listening. 

Starts socket listening. 

 

Local listening port. 

1‐65535 

 

 

Socket closure behavior for TCP. 

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

255 

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