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

  • 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 239
CUSTOMATCOMMANDS
HSPA+ATCommandsReferenceGuide 240
Notes
Youcanusethecommandtochangecurrent<enc>/<dec>settingsforasocketalreadyopenedincommand
modeorinonlinemodeaftersuspendingit.YoumustsetAT#SKIPESC=1.
Touse#BASE64incommandmode,ifdatatosendexceedsmaximumvaluefor#SSENDEXTcommand,youmust
dividethedataintomultipleparts.
Thesepartshavetobeamultipleof57bytes,exceptforthelastone,todistinguishEOFcondition.
(Base64encodingrules)
Forthesamereasonif#S
RECVcommandisusedbytheapplicationtoreceivedata,amultipleof78byteshas
tobeconsidered.
Touse#SRECVtoreceivedatawith<dec>enabled,itisnecessarytoconsiderthat:
reading<maxByte>bytesfromsocket,usergetslessduetodecodingthatisper f ormed.
Valuesareautomaticallysavedinnonvolatilememory.
Readcommandreturnsthecurrent<enc>/<dec>settingsforallthesixsockets,intheformat:
#BASE64:<connId1><enc1>,<dec1>,0,0<CR><LF>
...
#BASE64:<connId6>,<enc6>,<dec6>,0,0<CR><LF>
Examples
AT#SKIPESC=1
OK
AT#SD=<connId>,<txProt>,<rPort>,<IPaddr>
CONNECT
//Datasentwithoutmodifications.Default.
………
+++ (suspension)
OK
at#base64=<connId>,1,0
OK
AT#SO=<connId>
CONNECT
// Datareceivedfromserialportisbase64encodedbeforesentonthesocket.
………………
+++ (suspension)
Vue de la page 239
1 2 ... 235 236 237 238 239 240 241 242 243 244 245 ... 329 330

Commentaires sur ces manuels

Pas de commentaire