Rainbow Electronics GM862-QUAD-PY User Manual
Page 410

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 410 of 434
#WSCRIPT - Write Script
SELINT 0 / 1
above line; then type or send the script, sized 54 bytes
OK
Script has been stored.
Note
It’s recommended to use the extension .py only for textual script files and
the extension .pyo only for pre-compiled executable script files.
#WSCRIPT - Write Script
SELINT 2
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 five character sequence
(IRA 13, 10, 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