Specifications
CUSTOMATCOMMANDS
HSPA+ATCommandsReferenceGuide 200
#TCPATRUN:<DISCONNECT>
Unsolicitedisdumpedontheinstancethatrequestedtheserviceactivation.
<timeout>
Defineinminutesthemaximumtimeforacommandexecution.Iftimeout
expiresthemoduleisrebooted.Default:5minutes.Range:1‐5.
<authMode> Determinestheauthenticationprocedureinservermode.
0
Whenconnectionisup,usernameandpassword(inthisor
der,eachfollowedbya
carriagereturn)mustbesenttothemodulebeforethefirstATcommand.
Default:0.
1
Whenconnectionisup,theuserreceivesarequestforusernameand,if
usernameiscorrect,arequestforpassword.Thenamessageof”Login
successful”clo
sesauthenticationphase.
Notes
Thecurrentsettingsarestoredinnon‐volatilememory.
Tostarttheserviceautomaticallywhenthemoduleispowered‐on,youmustsettheautomaticPDPcontext
activation.SeeAT#SGACTCFGcommand.
ThesetcommandreturnsERRORifthecommandAT#TCPATRUNL?returns1as<mod>parameterorthe
commandAT#TCPATRUND?returns1as<mod>parameter.
TCPRunATServiceinListenServerMode#TCPATRUNL
SetcommandenablesordisablestheTCPATRUNserviceinservermode.Whenthisserviceisenabled,the
moduletriestoputitself inTCPlistenstate.
Readcommandreturnsthecurrentsettingsof<mode>andthevalueof<stat>intheformat:
#TCPATRUNL:<mod>,<stat>
where:
<stat> Connectionstatus.
0 Notinlisten.
1 Inlisten,oractive.
Testcommandreturnsthesupportedvaluesfortheparameters
Syntax
Command Commandtype
AT#TCPATRUNL=<mod> Set
AT#TCPATRUNL? Read
AT#TCPATRUNL=? Test
ParametersandValues
<mod>
0 Servicedisabled.
1 Serviceenabled.
Notes
IfSMSATRUNisactiveonthesameinstance—seeAT#TCPATRUNCFG—thecommandreturnsERROR.