Specifications
EASYSCRIPT EXTENSIONPYTHONINTERPRETER,ATCOMMANDS
HSPA+ATCommandsReferenceGuide 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
serialport.Default:0.
1
Currentsc
riptisexecutedatstartuponlyiftheuserdoesnotsendanyAT
commandontheserialportforthetimeintervalspecifiedin<script_start_to>
parameter.Otherwise,theEasyScriptinterpreterdoesnotexecuteandthe
modulebehavesnormallyansweringonlytoATcommandsonth
eserialport.
TheDTRlineisnottested.
<script_start_to> Currentscriptstarttime‐out.
10‐60‐timeintervalinseconds.Thisparameterisusedonlyifparameter
<script_start_mode>issetto1.ItisthewaitingtimeforanATcommandon
theserialporttodisableactivescriptexe
cutionstart.Iftheuserdoesnot
sendanyATcommandontheserialportforthetimespecifiedinthis
parameteractivescriptisnotbeexecuted.Default:10.
ExecuteActiveScript#EXECSCR
Executecommandcauses thecurrentscript(see#ESCRIPT)executionnotatstartup.
Thiscommandisusefulwhentheexecutionatstartupisblockeddeliberatelyandtheuserwantstocontrol
executionstart.
TestcommandreturnsOKresultcode.
Syntax
Command Commandtype
AT#EXECSCR Set
AT#EXECSCR=? Test
ReadScript#RSCRIPT
Executecommandreportsthecon tentoffile<script_name>.
TestcommandreturnsOKresultcode.