beautypg.com

Notes, Examples – Synaccess Networks NP-0801DTM User Manual

Page 240

background image

 

CUSTOM AT COMMANDS

 

HSPA+ AT Commands Reference Guide 

240

 

Notes 

„

You can use the command to change current / settings for a socket already opened in command 
mode or in online mode after suspending it. You must set AT#SKIPESC=1. 

„

To use #BASE64 in command mode, if data to send exceeds maximum value for #SSENDEXT command, you must 
divide the data into multiple parts. 

These parts have to 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 has 
to be considered. 

„

To use #SRECV to receive data with  enabled, it is necessary to consider that: 

reading  bytes from socket, user gets less due to decoding that is performed.  

„

Values are automatically saved in non‐volatile memory. 

„

Read command returns the current / settings for all the six sockets, in the format: 

#BASE64:,,0,0 

. . .  

#BASE64:,,,0,0 

Examples 

AT#SKIPESC=1

OK

AT#SD=,,,

CONNECT

//Data sent without modifications. Default. 

………

+++ (suspension)

OK

 

at#base64=,1,0 

OK 

 

AT#SO=

CONNECT

//

Data received from serial port is base64 encoded before sent on the socket. 

………………

+++ (suspension)