EASYSCRIPTEXTENSIONPYTHONINTERPRETER,ATCOMMANDS
273 HSPA+ATCommandsReferenceGuide
Syntax
Command Commandtype
AT#RSCRIPT=[<script_name>] Set
AT#RSCRIPT=? Test
ParametersandValues
<script_name> Stringtype,filename.Maximum16characters,casesensitive.
Thedevicepromptsafivecharactersequence
<CR><LF><less_than><less_than><less_than>(IRA13,10,60,60,60)
followedbythefilecontent.
Notes
Ifthefile<script_name>wassavedwiththehiddenattribute,thenanemptyfileisreportedwiththeOKresult
code.
Ifthefile<script_name>isnotpresentanerrorcodeisreported.
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
ListScriptNames#LS CRIPT
ExecutecommandreportseitherthelistoffilenamesforthefilescurrentlystoredintheEasyScriptrelatednon‐
volatilememoryandtheavailablefreenon‐volatilememorymemoryintheformat:
[#LSCRIPT:<script_name1>,<size1> …
[<CR><LF>#LSCRIPT:<script_namen>,<sizen>]]
<CR><LF>#LSCRIPT:freebytes:<free_non‐volatilememory>
where:
<script‐namen>
Filename,quotedstringtype.Maximum16characters,case
sensitive.
<sizen> Sizeofscriptinbytes.
<free_non‐volatilememory> Sizeofavailablenon‐volatilememorymemoryinbytes.
TestcommandreturnsOKresultcode.
Syntax
Command Commandtype
AT#LSCRIPT Execute
AT#LSCRIPT=? Test
Commentaires sur ces manuels