Syntax, Parameters and values, Notes – Synaccess Networks NP-0801DTM User Manual

Page 273: Examples, List script names #lscript

Advertising
background image

EASY SCRIPT EXTENSION PYTHON INTERPRETER, AT COMMANDS

 

 

273 

HSPA+ AT Commands Reference Guide

 

Syntax 

Command 

Command type 

AT#RSCRIPT=[<script_name>]  Set 

AT#RSCRIPT=? 

Test 

Parameters and Values 

<script_name> 

String type, file name. Maximum 16 characters, case sensitive.

 

 

The device prompts a five character sequence  
<CR><LF><less_than><less_than><less_than>(IRA 13, 10, 60, 60, 60)  
followed by the file content. 

Notes 

„

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

„

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

Examples 

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

List Script Names   #LSCRIPT 

Execute command reports either the list of file names for the files currently stored in the Easy Script related non‐
volatile memory and the available free non‐volatile memory memory in the format: 

[#LSCRIPT: <script_name1>,<size1>… 

[<CR><LF>#LSCRIPT: <script_namen>,<sizen>]] 

<CR><LF>#LSCRIPT: free bytes: <free_non‐volatile memory> 

where: 

<script‐namen> 

File name, quoted string type. Maximum 16 characters, case 
sensitive.

 

<sizen> 

Size of script in bytes. 

<free_non‐volatile memory> 

Size of available non‐volatile memory memory in bytes. 

Test command returns OK result code. 

Syntax 

Command 

Command type 

AT#LSCRIPT 

Execute 

AT#LSCRIPT=? 

Test 

Advertising