At Configuration Mode; Network Function; Short Connection; Registration Package - Ebyte E840-TTL-4G02E User Manual

Hide thumbs Also See for E840-TTL-4G02E:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
11 22 33:real data
Demonstration:
Take SOCK0 as an example:
Send:+++(do not add new line for transmitting )
Send:AT+VER(add new line for transmitting )
time
Back:+OK=E840-DTU(4G-02E)_V1.0
Send:AT+SOCK=TCPC,116.62.42.192,31687
SOCK0 will connect to (the parameter used here is Ebyte test server, not recommended for users)
Back:+OK
Send:AT+LINKSTA
Back:+OK=Connect
Send:AT+POTOCOL=ON
Back:+OK
Send:AT+POTOCOL
Back:+OK=ON
AT+REBT
Back:+OK
Waiting for the radio to restart, SOCK will automatically establish a connection with the server. After the connection
is started, data can be transmitted to each other via protocol.

4.1.3 AT Configuration Mode

Under this mode, all UART data is considered as AT command. In the transparent transmission mode, after the serial
port receives the "+++" frame data, the RX pin receives any AT command within 3 seconds, and the mode switches to the
AT mode. In AT mode, send AT+EXAT<CR><LF> to switch to transparent transmission mode.
Please read "E840-TTL-4G02E-AT Command Set" carefully when using AT command configuration mode.

4.2 Network function

4.2.1 Short connection

In TCP Client mode, open the short connection, if no data is received through the serial port or network port within
the set time, the network connection will be automatically disconnected. The short connection function is not enabled by
default. When enabled, the connection time can be set from 2 to 255 seconds. When the connection time is set to 0, the
function is turned off.

4.2.2 Registration package

The registration package function is not enabled by default. There are a total 4 types of registration package can be
Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
//enter AT command
//read version info. And enter AT command setting at the same
//Open SOCK0, and set the network server parameters that
//check if SOCK2 has started connection with server
//open protocol transmission mode
//inquire if protocol transmission is on
//restart
E840-TTL-4G02E User Manual
10

Advertisement

Table of Contents
loading

Table of Contents