Syntax, Parameters and values – Synaccess Networks NP-0801DTM User Manual

Page 199

Advertising
background image

CUSTOM AT COMMANDS 

 

 

199 

HSPA+ AT Commands Reference Guide

 

Set TCP Run AT Service Parameter   #TCPATRUNCFG 

Set command configures the TCP AT RUN service. 

Read  command returns the current settings of parameters in the format: 

#TCPATRUNCFG:  

<connId>,<instance>,<tcpPort>,<tcpHostPort>,<tcpHost>,<urcmod>,<timeout>,<authMode>,<retryCnt>,<retr
yDelay> 

Test command returns the supported values for the parameters 

Syntax 

Command 

Command type 

AT#TCPATRUNCFG=<connId>,<instance>,<tcpPort>,<tcpHostPort> 
,<tcpHost>[,<urcmod>[,<timeout>[,<authMode>[,<retryCnt> 
[,<retryDelay>]]]]] 

Set 

AT#TCPATRUNCFG? 

Read  

AT#TCPATRUNCFG=? 

Test 

Parameters and Values 

<connId> 

Socket connection identifier. Default: 1
Range 1‐6. This parameter is mandatory.

 

<instance> 

AT instance used by the service to run the AT command. Range 2 ‐ 3. Default: 
2
.This parameter is mandatory.  

<tcpPort> 

TCP listen port for the connection to the service in server mode. Default: 1024
Range 1‐65535. This parameter is mandatory.  

<tcpHostPort> 

TCP remote port of the host to connect to, in client mode. Default: 1024. Range 
1‐65535. This parameter is mandatory. 

<tcpHost> 

String type, IP address of the host.  
This parameter can be either: 
Any valid IP address in the format: “xxx.xxx.xxx.xxx”. 
Any host name to be solved with a DNS query. 
This parameter is mandatory. Default: “”
Note: If username or password are not allowed—see AT#TCPATRUNAUTH—the 
connection closes immediately. 

<retryCnt> 

In client mode, at boot or after a socket disconnection, this parameter represents 
the number of attempts that are made in order to re‐connect to the host. 
Default: 0. Range: 0‐5. 

<retryDelay> 

In client mode, delay between one attempt and the other. In minutes. 
Default: 2. Range: 1‐3600. 

<urcmod> 

 

Disable unsolicited messages. 

Enable an unsolicited message when the TCP socket is connected or disconnect. 
Default: 1
When unsolicited is enabled, an asynchronous TCP Socket connection is indicated 
to TE with unsolicited result code: 
#TCPATRUN: <iphostaddress> 
When unsolicited is enabled, the TCP socket disconnection is indicated to TE with 
unsolicited result code: 

Advertising