ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 402 of 545 2020-04-15
3.13.26. AT#BASE64 - Base64 Encoding/Decoding of Socket Sent/Received
Data
This command is used to enable or disable base64 encoding and decoding data of a socket.
AT#BASE64=<connId>,<enc>,<dec>[,<unused_B>[,<unused_C>]]
Set command enables base64 encoding and decoding of data sent/received to/from the socket in
online or in command mode.
Parameters:
socket connection identifier
socket connection identifier value (max value is returned by the
Test command)
selects the encoding standard. The data received
from serial port are base64 encoded according to the
<enc> parameter and forwarded to the <connId>
socket.
no encoding of data received from serial port.
base64 encoding compliant to RFC 2045 - MIME standard. 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.
base64 encoding compliant to RFC 3548 standard. As indicated from
RFC3548 CRLF have not to be added.
selects the decoding standard. The data received
from the <connId> socket, are decoded according to
the <dec> parameter and forwarded to the serial port.
no decoding of data received from socket <connId>
base64 decoding compliant to RFC 2045 - MIME standard. 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.
base64 decoding compliant to RFC 3548 standard. 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.