Write script #wscript, Syntax, Parameters and values – Synaccess Networks NP-0801DTM User Manual
Page 270: Notes

EASY SCRIPT EXTENSION PYTHON INTERPRETER, AT COMMANDS
HSPA+ AT Commands Reference Guide
270
Easy Script Extension Python Interpreter, AT
Commands
Python scripting is supported in MTPCIE‐H5, MTCBA‐H5, and the dumb version of MTSMC‐H5. Scripting support
might require some professional services.
Write Script #WSCRIPT
Execute command causes the module to store a file in the Easy Script related non‐volatile memory, 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
Test command returns OK result code.
Syntax
Command
Command type
AT#WSCRIPT=[
Set
AT#WSCRIPT=?
Test
Parameters and Values
String type, name of the file in non‐volatile memory. Maximum 16 characters,
case sensitive.
File size in bytes.
File hidden attribute.
0
File content is readable with #RSCRIPT. Default: 0.
1
File content is hidden, #RSCRIPT command reports empty file.
The device prompts a five character sequence
(IRA 13, 10, 62, 62, 62)
after command line is terminated with
After that a file can be 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.
Notes
Place the file name in quotes. Every textual script file must have .py extension. Every pre‐compiled executable
script file must have .pyo extension. File names are case sensitive.
When sending the script be sure that the line terminator is
change it.