Chengdu Ebyte Electronic Technology Co.,Ltd
E840-DTU(4G-02E) User Manual
Copyright ©2012–2019
,
Chengdu Ebyte Electronic Technology Co.,Ltd
11
Software tools used for the test are as follows
:
Any serial port assistant, XCOM is used in this manual, which can be downloaded from our official website.
2.2.1 Operating mode is as follows
:
1
、
operating mode includes: transparent transmission mode, AT configuration mode
a) Transparent transmission mode: After power-on, the radio works in the transparent transmission mode by
default, and automatically starts the network connection. When the connection is established with the server, any
data received by the serial port will be transparently transmitted to the server. At the same time, it can also receive
data from the server. After receiving the server data, the module will output directly through the serial port. The
maximum length of data supported by this module is 1024 bytes. When multiple links are connected to the server
at the same time, the data packet will be sent to the four links at the same time. When there are data to be sent from
any network link, the radio will transparently output the data.
b) Protocol transmission: This module supports 4-channel Socket connections. For each socket users can
configured it as TCP Client or UDP Client. When sending data, users can use protocol transmission or transparent
transmission.
Protocol transmission format
Transmit
:
0x55 0xFE 0xAA ID data
For example
:
55 FE AA 02 AA BB
//02
:
SOCK2 link
,
AA BB
:
the data that the user actually
needs to transmit
Receive
:
0xAA 0XFE 0x55 ID data length Data
For example
:
AA FE 55 02 03 11 22 33
//02: SOCK2 link
,
03
:
the valid data length received this
time 11 22 33
:
real data
Demonstration
:
Take SOCK2 as an example
:,
Transmit
:
+++(do not add new line for transmitting )
//enter AT command
Transmit
:
AT+VER(add new line for transmitting )
//read version info. And enter AT command setting
at the same time
+OK=
E840-DTU(4G-02E)
_V1.0
Transmit
:
AT+SOCK2=1,TCPC,116.62.42.192,31687 //open SOCK2 and configure the network
server parameters that SOCK2 will connect to
(the parameter used here is Ebyte test server,
not recommended for users)
+OK
Transmit
:
AT+LINKSTA2
//read if SOCK2 has started connection with server
+OK=Connect
Transmit
:
AT+POTOCOL=ON
// open protocol transmission mode
+OK
Transmit
:
AT+POTOCOL
//inquire if protocol transmission is on
+OK=ON
AT+REBT
//restart
+OK
Waiting for the radio to restart, SOCK2 will automatically establish a connection with the server. After the
connection is started, data can be transmitted to each other via protocol.
Содержание 4G-02E
Страница 1: ...E840 DTU 4G 02E E840 DTU 4G 02E ...