Synaccess-networks NP-0801DTM Instrukcja Użytkownika Strona 240

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 330
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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)
Przeglądanie stron 239
1 2 ... 235 236 237 238 239 240 241 242 243 244 245 ... 329 330

Komentarze do niniejszej Instrukcji

Brak uwag