beautypg.com

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

Page 415

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
<<

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


#RSCRIPT - Read Script

SELINT 2

AT#RSCRIPT=
[]

Execution command reports the content of file .

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

The device shall prompt a five character sequence

(IRA 13, 10, 60, 60, 60)

followed by the file content.

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

Note: If the file 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

<<


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:
[#LSCRIPT: n
> n>]]
#LSCRIPT: free bytes:

where: