ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 403 of 545 2020-04-15
It is possible to use command to change current <enc>/<dec> settings for a socket
already opened in command mode or in online mode after suspending it. In this last case
it is necessary to set AT#SKIPESC=1.
To use #BASE64 in command mode, if data to send exceed maximum value for
#SSENDEXT command, they must be divided in multiple parts. These parts must be a
multiple of 57 bytes, except for the last one, to distinguish EOF condition (Base64
encoding rules). For the same reason if #SRECV command is used by the application to
receive data, a multiple of 78 bytes must be considered.
To use #SRECV to receive data with <dec> enabled, it is necessary to consider that:
reading <maxByte> bytes from socket, user will get less due to decoding that is
performed.
AT#BASE64?
Read command returns the current <enc>/<dec> settings for all the six sockets. The format is:
#BASE64:<connId
1
><enc
1
>,<dec
1
>,0,0<CR><LF>
. . .
#BASE64:<connId
6
>,<enc
6
>,<dec
6
>,0,0<CR><LF>
AT#BASE64=?
Test command returns the range of supported values of all parameters.