6 list script names - #lscript – Rainbow Electronics GM862-QUAD-PY User Manual

Page 415

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 415 of 434

#RSCRIPT - Read Script

SELINT 0 / 1

settings it’s possible that the prompt overrides the
above line; then the script is displayed, immediately

after the prompt
<<<import MDM

MDM.send('AT\r',10)
Ans=MDM.receive(20)
OK


#RSCRIPT - Read Script

SELINT 2

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 five character sequence
<CR><LF><less_than><less_than><less_than>
(IRA 13, 10, 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; then the script is
displayed, immediately after the prompt

<<<import MDM


MDM.send('AT\r',10)
Ans=MDM.receive(20)

OK

3.5.7.10.6 List Script Names - #LSCRIPT

#LSCRIPT - List Script Names

SELINT 0 / 1

AT#LSCRIPT

Execution command reports either the list of file names for the files currently
stored in the Easy Script® related NVM and the available free NVM memory
in the format:

[#LSCRIPT: <script_name1> <size1>…
[<CR><LF><CR><LF>#LSCRIPT: <script_namen
> <sizen>]]
<CR><LF><CR><LF>#LSCRIPT: free bytes: <free_NVM>

where:

Advertising