
EASYīSCRIPTīEXTENSIONīPYTHONīINTERPRETER,īATīCOMMANDS
ī
ī
273ī HSPA+īATīCommandsīReferenceīGuide
ī
Syntaxī
Commandī Commandītypeī
AT#RSCRIPT=[<script_name>]ī Setī
AT#RSCRIPT=?ī 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.ī
Notesī
ī Ifītheīfileī<script_name>īwasīsavedīwithītheīhiddenīattribute,īthenīanīemptyīfileīisīreportedīwithītheīOKīresultī
code.ī
ī Ifītheīfileī<script_name>īisīnotīpresentīanīerrorīcodeīisīreported.ī
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
ListīScriptīNamesīīī#LS CRIPTī
ExecuteīcommandīreportsīeitherītheīlistīofīfileīnamesīforītheīfilesīcurrentlyīstoredīinītheīEasyīScriptīrelatedīnonā
volatileīmemoryīandītheīavailableīfreeīnonāvolatileīmemoryīmemoryīinītheīformat:ī
[#LSCRIPT:ī<script_name1>,<size1> ā¦ī
[<CR><LF>#LSCRIPT:ī<script_namen>,<sizen>]]ī
<CR><LF>#LSCRIPT:īfreeībytes:ī<free_nonāvolatileīmemory>ī
where:ī
<scriptānamen>ī
Fileīname,īquotedīstringītype.īMaximumī16īcharacters,īcaseī
sensitive.ī
<sizen>ī Sizeīofīscriptīinībytes.ī
<free_nonāvolatileīmemory>ī Sizeīofīavailableīnonāvolatileīmemoryīmemoryīinībytes.ī
TestīcommandīreturnsīOKīresultīcode.ī
Syntaxī
Commandī Commandītypeī
AT#LSCRIPTī Executeī
AT#LSCRIPT=?ī Testī
Commenti su questo manuale