Synaccess-networks NP-0801DTM Manuel d'utilisateur Page 273

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 330
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 272
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
volatilememoryandtheavailablefreenonvolatilememorymemoryintheformat:
[#LSCRIPT:<script_name1>,<size1> …
[<CR><LF>#LSCRIPT:<script_namen>,<sizen>]]
<CR><LF>#LSCRIPT:freebytes:<free_nonvolatilememory>
where:
<scriptnamen>
Filename,quotedstringtype.Maximum16characters,case
sensitive.
<sizen> Sizeofscriptinbytes.
<free_nonvolatilememory> Sizeofavailablenonvolatilememorymemoryinbytes.
TestcommandreturnsOKresultcode.
Syntax
Command Commandtype
AT#LSCRIPT Execute
AT#LSCRIPT=? Test
Vue de la page 272
1 2 ... 268 269 270 271 272 273 274 275 276 277 278 ... 329 330

Commentaires sur ces manuels

Pas de commentaire