4 execute active script - #execscr, 5 read script - #rscript – Rainbow Electronics GM862-QUAD-PY User Manual

Page 414

Advertising
background image




AT Commands Reference Guide

80000ST10025a Rev. 5 - 09/07/08

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 414 of 434

#STARTMODESCR - Script Execution Start Mode

SELINT 2

parameter active script will not be executed (default is 10).

AT#STARTMODESCR?

Read command reports the current script start mode and the current
script
start time-out, in the format:

#STARTMODESCR= <script_start_mode>,<script_start_timeout>

AT#STARTMODESCR=? Test command returns the range of available values for parameters

<script_start_mode> and <script_start_timeout>, in the format:

#STARTMODESCR: (0,2),(10-60)

3.5.7.10.4 Execute Active Script - #EXECSCR

#EXECSCR - Execute Active Script

SELINT 0 / 1

AT#EXECSCR

Execution command causes the current script (see #ESCRIPT) execution
not at startup.
This command is useful when the execution at startup has been blocked
deliberately and the user wants to control execution start.

AT#EXECSCR?

Read command has the same behaviour as execution command

AT#EXECSCR=?

Test command returns OK result code.


#EXECSCR - Execute Active Script

SELINT 2

AT#EXECSCR

Execution command causes the current script (see #ESCRIPT) execution
not at startup.
This command is useful when the execution at startup has been blocked
deliberately and the user wants to control execution start.

AT#EXECSCR=?

Test command returns OK result code.

3.5.7.10.5 Read Script - #RSCRIPT

#RSCRIPT - Read Script

SELINT 0 / 1

AT#RSCRIPT=
<script_name>

Execution command reports the content of file <script_name>.

Parameter:
<script_name> - file name, string type (max 16 chars, case sensitive).

The device shall prompt a three character sequence
<less_than><less_than><less_than>
(IRA 60, 60, 60)

followed by the file content.

Note: if the file <script_name> was saved with the hidden attribute, then an
empty file is reported with the OK result code.

Note: If the file <script_name> is not present an error code is reported.

Example

AT#RSCRIPT="First.py "

hereafter receive the prompt: depending on your editor

Advertising