3 script execution start mode - #startmodescr – Rainbow Electronics GM862-QUAD-PY User Manual
Page 412

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 412 of 434
#ESCRIPT - Select Active Script
SELINT 2
#STARTMODESCR setting, or
d) the name of the pre-compiled executable file that will be executed at
startup according to last #STARTMODESCR setting.
We call this file (either textual or pre-compiled) the current script.
Parameter:
Note: all textual script files must have .py extension; all pre-compiled
executable files must have .pyo extension.
Note:
#WSCRIPT in order to have it run.
Note: the command does not check whether a textual script named
AT#ESCRIPT?
Read command reports as a quoted string the file name of the current
script.
3.5.7.10.3 Script Execution Start Mode - #STARTMODESCR
#STARTMODESCR - Script Execution Start Mode
SELINT 0 / 1
AT#STARTMODESCR[=
[,
Set command sets the current script (see #ESCRIPT) execution
start mode.
Parameter:
0 - current script will be executed at startup only if the DTR line is
found Low (that is: COM is not open on a PC), otherwise the Easy
Script® interpreter will not execute and the MODULE will behave
normally answering only to AT commands on the serial port
(factory default).
1 - current script will be executed at startup only if the user does not
send any AT command on the serial port for the time interval
specified in
Script® interpreter will not execute and the MODULE will behave
normally answering only to AT commands on the serial port. The
DTR line is not tested.
2 - current script will be executed at startup in any case apart from
DTR line and if the user does not send any AT command on the
serial port for the time interval specified in
parameter. But AT command interface will be available on serial
port ASC0 and connected to third AT parser instance.