Notes, Syntax, Parameters and values – Synaccess Networks NP-0801DTM User Manual

Page 239

Advertising
background image

CUSTOM AT COMMANDS 

 

 

239 

HSPA+ AT Commands Reference Guide

 

Notes 

„

Use AT#PADCMD to enable the socket char‐flush activity. 

Base64 Encoding/Decoding of Socket Sent/Received Data   #BASE64 

Set command enables base64 encoding and/or decoding of data sent/received to/from the socket in online or in 
command mode. 

Read command returns the current <enc>/<dec> settings for all the six sockets, in the format: 

#BASE64:<connId1><enc1>,<dec1>,0,0<CR><LF> 

. . . 

#BASE64:<connId6>,<enc6>,<dec6>,0,0<CR><LF> 

Test command returns the range of supported values for all the subparameters. 

Syntax 

Command 

Command type 

AT#BASE64=<connId>,<enc>,<dec> [,<unused_B > [,<unused_C >]] 

Set 

AT#BASE64? 

Read 

AT#BASE64=? 

Test 

Parameters and Values 

<connId> 

Socket connection identifier. 

1‐6 

 

<enc> 

 

No encoding of data received from serial port. 

MIME RFC2045 base64 encoding of data received from serial port that have to be 
sent to <connId> socket. 
Note: As indicated from RFC2045 the encoded output stream is represented in 
lines of no more than 76 characters each. 
Lines are defined as sequences of octets separated by a CRLF sequence. 

RFC 3548 base64 encoding of data received from serial port that have to be sent 
to <connId> socket. 
Note: As indicated from RFC3548 CRLF have not to be added. 

<dec> 

 

No decoding of data received from socket <connId>. 

MIME RFC2045 base64 decoding of data received from socket <connId>  and sent 
to serial port. 
Same rule as for <enc> regarding line feeds in the received file that has to be 
decoded. 

RFC3548 base64 decoding of data received from socket <connId>  and sent to 
serial port. 
Same rule as for <enc> regarding line feeds in the received file that has to be 
decoded. 

Advertising