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

  • 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 273
EASYSCRIPT EXTENSIONPYTHONINTERPRETER,ATCOMMANDS
HSPA+ATCommandsReferenceGuide 274
Examples
AT#LSCRIPT
#LSCRIPT: “First.py”,51
#LSCRIPT: “Second.py”,178
#LSCRIPT: “Third.py”,95
#LSCRIPT: free bytes: 20000
OK
ListScriptNames#LCSCRIPT
ExecutecommandreportsthelistoffilenamesforthefilescurrentlystoredintheEasyScriptrelatednonvolatile
memory,addingCRC16information,andtheavailablefreenonvolatilememorymemoryintheformat:
[#LCSCRIPT:<script_name1 >,<size1>[,<crc1>]…
[<CR><LF>#LCSCRIPT:<script_namen>,<sizen>[,<crcn>]]]
<CR><LF>#LCSCRIPT:freebytes:<free_nonvolatilememory>
where:
<scriptnamen>
Filename,quotedstringtype.Maximum16characters,case
sensitive.
<sizen> Sizeofscriptinbytes.
<crcn> CRC16poly(x^16+x^12+x^5+1)ofscriptinhexformat.
<free_nonvolatilememory> Sizeofavailablenonvolatilememorymemoryinbytes.
Note:CRC16iscalculatedusingthestandardCRC16CCITTx^16+x^12+x^5+1polynomial(0x1021representation)
withinitialvalueFFFF.
Note:Ifonefilecurrentlystoredinnonvolatilememoryisinuse,thenCRC16cannotbecalculatedandExecute
commanddoesnotreport<crcn>forthatfile.Thisisalwaystrueifcommandisexecute
dbyaPythonscript
becauseatleastthefilepointedby#ESCRIPTisinuse.
ExecutecommandreportssizeandCRC16informationoffile<script_name>intheformat:
[#LCSCRIPT:<script_name>,<size>[,<crc>]]
where:
<scriptname>‐filename,quotedstringtype.Maximum16characters,casesensitive.
<size>‐sizeofscriptinbytes
<crc>‐CRC16poly(x^16+x^12+x^5+1)ofscriptinhexformat
Parameter:
<script_name>‐Stringtype,filename.Maximum16characters,casesensitive.
Note:CRC16iscalcula
tedusingthestandardCRC16CCITTx^16+x^12+x^5+1polynomial(0x1021representation)
withinitialvalueFFFF.
Vue de la page 273
1 2 ... 269 270 271 272 273 274 275 276 277 278 279 ... 329 330

Commentaires sur ces manuels

Pas de commentaire