7 delete script - #dscript – Rainbow Electronics GM862-QUAD-PY User Manual

Page 416

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

#LSCRIPT - List Script Names

SELINT 0 / 1

<script-namen> - file name, quoted string type (max 16 chars, case

sensitive)

<sizen> - size of script in bytes
<free_NVM> - size of available NVM memory in bytes

AT#LSCRIPT?

Read command has the same behavior of Execution command.

Example

AT#LSCRIPT

#LSCRIPT: First.py 51

#LSCRIPT: Second.py 178


#LSCRIPT: Third.py 95

#LSCRIPT: free bytes: 20000

OK


#LSCRIPT - List Script Names

SELINT 2

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>#LSCRIPT: <script_namen
>,<sizen>]]
<CR><LF>#LSCRIPT: free bytes: <free_NVM>

where:
<script-namen> - file name, quoted string type (max 16 chars, case

sensitive)

<sizen> - size of script in bytes
<free_NVM> - size of available NVM memory in bytes

AT#LSCRIPT=?

Test command returns OK result code.

Example

AT#LSCRIPT
#LSCRIPT: “First.py”,51

#LSCRIPT: “Second.py”,178
#LSCRIPT: “Third.py”,95
#LSCRIPT: free bytes: 20000

OK

3.5.7.10.7 Delete Script - #DSCRIPT

#DSCRIPT - Delete Script

SELINT 0 / 1

AT#DSCRIPT=
<script_name>

Execution command deletes a file from Easy Script® related NVM memory.

Parameter:

<script_name> - name of the file to delete, string type (max 16 chars, case

Advertising