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

Page 275: Delete script #dscript

Advertising
background image

EASY SCRIPT EXTENSION PYTHON INTERPRETER, AT COMMANDS

 

 

275 

HSPA+ AT Commands Reference Guide

 

Note: If file <script_name> is in use, CRC16 cannot be calculated. Execute command does not report <crc>. 

Note: If file <script_name> is not in the list of files stored in non‐volatile memory Execute command exits with 
error message. 

Test command returns OK result code. 

Syntax 

Command 

Command type 

AT#LCSCRIPT 

Execute 

AT#LCSCRIPT=<script_name>  Execute 

AT#LCSCRIPT=? 

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. 

Examples 

AT#LCSCRIPT

#LCSCRIPT: “First.py”,51,8FD6

#LCSCRIPT: “Second.py”,178,A034

#LCSCRIPT: “Third.py”,120,7C48

#LCSCRIPT: free bytes: 20000

OK

To list a specific script by name AT#LSCRIPT="name.py" rather than just listing all scripts via AT#LSCRIPT command. 

AT#LCSCRIPT=“Second.py”

#LCSCRIPT: “Second.py”,178,A034

OK

If file Third.py is already in use, CRC value is not displayed in response. 

AT#LCSCRIPT

#LCSCRIPT: “First.py”,51,8FD6

#LCSCRIPT: “Second.py”,178,A034

#LCSCRIPT: “Third.py”,120

#LCSCRIPT: free bytes: 20000

OK

Delete Script   #DSCRIPT 

Execute command deletes a file from Easy Script related non‐volatile memory memory. 

Test command returns OK result code. 

Advertising