Specifications

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)