1 write script - #wscript, 10 easy script® extension - python, Interpreter, at commands – Rainbow Electronics GM862-QUAD-PY User Manual
Page 409

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 409 of 434
3.5.7.10 Easy Script® Extension - Python
17
Interpreter, AT Commands
3.5.7.10.1 Write Script - #WSCRIPT
#WSCRIPT - Write Script
SELINT 0 / 1
AT#WSCRIPT=
[,
Execution command causes the MODULE to store a file in the Easy Script®
related NVM, naming it
The file should be sent using RAW ASCII file transfer.
It is important to set properly the port settings. In particular:
Flow control: hardware.
Baud rate: 115200 bps
Parameters:
sensitive).
0 - file content is readable with #RSCRIPT (default).
1 - file content is hidden, #RSCRIPT command will report empty file.
The device shall prompt a three character sequence
(IRA 62, 62, 62)
after command line is terminated with
entered from TE, sized
The operations completes when all the bytes are received.
If writing ends successfully, the response is OK; otherwise an error code is
reported.
Note: the file name should be passed between quotes; every textual script
file must have .py extension, whilst every pre-compiled executable script file
must have .pyo extension; file names are case sensitive.
Note: when sending the script be sure that the line terminator is
and that your terminal program does not change it.
Note: with the hidden attribute it is possible to protect your files from being
viewed and copied, only the file name can be viewed, its content is hidden
even if the file is still being run correctly. It's your care to maintain
knowledge on what the file contains.
Example
AT#WSCRIPT="First.py ",54,0
>>> here receive the prompt: depending on your editor
settings it’s possible that the prompt overrides the
17
PYTHON is a registered trademark of the Python Software Foundation.