Specifications
CUSTOMATCOMMANDS
239 HSPA+ATCommandsReferenceGuide
Notes
UseAT#PADCMDtoenablethesocketchar‐flushactivity.
Base64Encoding/DecodingofSocketSent/ReceivedData#BASE64
Setcommandenablesbase64encodingand/ordecodingofdatasent/receivedto/fromthesocketinonlineorin
commandmode.
Readcommandreturnsthecurrent<enc>/<dec>settingsforallthesixsockets,intheformat:
#BASE64:<connId1><enc1>,<dec1>,0,0<CR><LF>
...
#BASE64:<connId6>,<enc6>,<dec6>,0,0<CR><LF>
Testcommandreturnstherangeofsupportedvaluesforallthesubparameters.
Syntax
Command Commandtype
AT#BASE64=<connId>,<enc>,<dec>[,<unused_B>[,<unused_C>]] Set
AT#BASE64? Read
AT#BASE64=? Test
ParametersandValues
<connId> Socketconnectionidentifier.
1‐6
<enc>
0 Noencodingofdatareceivedfromserialport.
1
MIMERFC2045base64encodingofdatareceivedfromserialportthathavetobe
sentto<connId>socket.
Note:AsindicatedfromRFC2045theencodedoutputstreamisrepresentedin
linesofnomoretha
n76characterseach.
LinesaredefinedassequencesofoctetsseparatedbyaCRLFsequence.
2
RFC3548base64encodingofdatareceivedfromserialportthathavetobesent
to<connId>socket.
Note:AsindicatedfromRFC3548CRLFhavenottobeadded.
<dec>
0 Node
codingofdatareceivedfromsocket<connId>.
1
MIMERFC2045base64decodingofdatareceivedfromsocket<connId>andsent
toserialport.
Sameruleasfor<enc>regardinglinefeedsinthereceivedfilethathastobe
decoded.
2
RFC3548base64decodingofdatareceivedfromsocket<connId>andsentto
serialport.
Sameruleasfo
r<enc>regardinglinefeedsinthereceivedfilethathastobe
decoded.