Specifications
EASYSCRIPT EXTENSIONPYTHONINTERPRETER,ATCOMMANDS
ATCommandsforHSPA‐H5Modem 272
#STARTMODESCR=<script_start_mode>,<script_start_timeout>
Testcommandreturnstherangeofavailablevaluesfor<script_start_mode>and<script_start_timeout>,inthe
format:
#STARTMODESCR:(0,1),(10‐60)
Syntax
Command Commandtype
AT#STARTMODESCR=<script_start_mode>[,<script_start_to>] Set
AT#STARTMODESCR? Read
AT#STARTMODESCR=? Test
ParametersandValues
<script_start_mode> Currentescriptexecutionstartmode.
0
CurrentscriptisexecutedatstartuponlyiftheDTRlineisfoundLow(thatis:
COMisnotopenonaPC),otherwisetheEasyScriptinterpreterdoesexecute
andthemodulebehavesnormallyansweringonlytoATcommandsonthe
serial
port.Default:0.
1
CurrentscriptisexecutedatstartuponlyiftheuserdoesnotsendanyAT
commandontheserialportforthetimeintervalspecifiedin<script_start_to>
parameter.Otherwise,theEasyScriptinterpreterdoesnotexecuteandthe
modulebehavesnormallyansweringonlytoATcommands
ontheserialport.
TheDTRlineisnottested.
<script_start_to> Currentscriptstarttime‐out.
10‐60‐timeintervalinseconds.Thisparameterisusedonlyifparameter
<script_start_mode>issetto1.ItisthewaitingtimeforanATcommandon
theserialporttodisableactive
scriptexecutionstart.Iftheuserdoesnot
sendanyATcommandontheserialportforthetimespecifiedinthis
parameteractivescriptisnotbeexecuted.Default:10.
ExecuteActiveScript#EXECSCR
Executecommandcausesthecurrentscript(see#ESCRIPT)executionnotatstartup.
Thiscommandisusefulwhentheexe cutionatstartupisblockeddeliberatelyandtheuserwantstocontrol
executionstart.
TestcommandreturnsOKresultcode.
Syntax
Command Commandtype
AT#EXECSCR Set
AT#EXECSCR=? Test
ReadScript#RSCRIPT
Executecommandreportsthecontentoffile<script_name>.
TestcommandreturnsOKresultcode.