Ebyte E840-DTU User manual

4G/LTE Serial Server
E840-DTU(4G-01)
User Manual
This manual may change with the continuous improvement of the product. Please refer to the latest version of the instruction.
Chengdu Ebyte Electronic Technology Co., Ltd. reserves all rights of final interpretation and modification of this manual.

4G/LTE Serial Server E840-DTU(4G-01)User Manual
Copyright ©2012–2017,Chengdu Ebyte Electronic Technology Co. LTD. 1
Version No.
Date
Description
Issued by
1.00
2018/07/16
Initial version
huaa
E840-DTU (4G-01) is a developed for serial devices and network servers to transmit data to each other via network. This product is a
LTE-FDD/LTE-TDD/WCDMA/TD-SCDMA /CDMA/GSM wireless communication data transmission station with diversity reception function., supporting LTE-FDD,
LTE-TDD, DC-HSDPA, HSPA+, HSDPA, HSUPA, WCDMA, TD-SCDMA, CDMA, EDGE and GPRS network data connections. Through simple AT commands Settings,
users can easily use this product to achieve two-way data transparent transmission from serial to network.
This manual is a quick introduction to the E840-DTU (4G-01) modem. With the easiest hardware environment to test the E840-DTU (4G-01) network
transmission function, that is, to realize the serial device (the computer) to the network server. Data is transmitted in both directions.
Features
Almost meet all M2M application demands;
Support data transparent transmission, support TCP, UDP network protocol, support heartbeat package, registration package function;
Support serial port caching function, the serial port data can be cached locally before the connection is established with the server;
LTE-FDD:Max downstream rate of 150Mbps, Max upstream rate of 50Mbps,LTE-TDD:Max downstream rate of 130Mbps,Max upstream rate of
35Mbps;
Support TCP/UDP;
Support 8~28V wide voltage supply, adopt both DC power supply and terminal power supply;
Electrical isolation is used for RS485 circuit, which has lightning protection, anti-surge scheme, and anti-interference ability.

4G/LTE Serial Server E840-DTU(4G-01)User Manual
Copyright ©2012–2017,Chengdu Ebyte Electronic Technology Co. LTD. 2
Contents
1. PRODUCT INTRODUCTION......................................................................................................................................................... 3
1.1. BRIEF INTRODUCTION....................................................................................................................................................................3
1.2. DTU PARAMETER......................................................................................................................................................................... 3
1.3. INTERFACE DESCRIPTION................................................................................................................................................................6
1.4. PIN DEFINITION............................................................................................................................................................................ 7
2. QUICK START..................................................................................................................................................................................7
2.1. HARDWARE.................................................................................................................................................................................. 7
2.2. DATA TRANSMISSION TEST............................................................................................................................................................ 9
2.2.1. Operating mode is as follows:
........................................................................................................................................
9
4. AT COMMAND.............................................................................................................................................................................12
5. NOTES............................................................................................................................................................................................19
6. IMPORTANT STATEMENT..........................................................................................................................................................19
7. ABOUT US.....................................................................................................................................................................................20

4G/LTE Serial Server E840-DTU(4G-01)User Manual
Copyright ©2012–2017,Chengdu Ebyte Electronic Technology Co. LTD. 3
1. Product introduction
1.1. Brief introduction
E840-DTU (4G-01) is an LTE digital radio modem product developed by Ebyte. The software is fully functional and covers most common application scenarios.
Users can implement two-way data transparent transmission between serial and network server with simple settings. .
The radio is powered by the DC power supply or RS485 terminal by a wide voltage of 8.0V to 28.0V. Support mobile, China Unicom, Telecom 4G card. Electrical
isolation scheme is used for RS485 and RS232 circuits, With anti-interference ability, it can be used in some environments with strong electromagnetic interference,
such as power industry.
1.2. DTU Parameter
Parameter
Value
Description
Characteristic
Frequency
LTE-FDD:B1/B3/B5/B8
LTE-TDD:B38/B39/B40/B41
WCDMA:B1/B8
TD-SCDMA:B34/B39
CDMA:BC0
GSM:900/1800MHz
LTE
characteristic
Support Max. of 3GPP R8 non-CA Cat 4 FDD and TDD
support 1.4MHz~20MHz rf band
Downstream supports: MIMO
LTE-FDD: Max downstream rate 150Mbps, Max upstream rate50Mbps
LTE-TDD: Max downstream rate 130Mbps, Max upstream rate35Mbps
UMTS
characteristic
support 3GPP R8 DC-HSDPA, HSPA+, HSDPA, HSUPA and WCDMA
support QPSK,16-QAM 和 64-QAM modulation
DC-HSDPA: Max downstream rate 42Mbps
HSUPA: Max upstream rate 5.76Mbps
WCDMA: Max downstream rate 384Kbps, Max upstream rate 384Kbps
TD-SCDMA
characteristic
support CCSA Release 3 TD-SCDMA
Max downstream rate 4.2Mbps, Max upstream rate 2.2Mbps
CDMA2000
characteristic
support 3GPP2 CDMA2000 1X Advanced 和 1xEV-DO Rev.A
EVDO: Max downstream rate 3.1Mbps, Max upstream rate1.8Mbps
1X Advanced: Max downstream rate 307.2Kbps, Max upstream rate 307.2Kbps
GSM
characteristic
R99: CSD tx rate:9.6kbps, 14.4kbps
GPRS:support GPRS multiple time slot level 33(default 33),coding format: max of 4 Rx
time slot for each frame, Max downstream rate107Kbps, Max upstream rate 85.6Kbps
EDGE:support EDGE multiple time slot level 33(default 33),support GMSK and 8-PSK
Downstream coding format:CS1-4 和 MCS 1-9,upstream coding format: CS 1-4 和 MCS
1-9
Max downstream rate296Kbps, Max upstream rate 236.8Kbps

4G/LTE Serial Server E840-DTU(4G-01)User Manual
Copyright ©2012–2017,Chengdu Ebyte Electronic Technology Co. LTD. 4
Network protocol
characteristic
Support TCP/UDP/PPP/FTP/HTTP/NTP/PING/QMI/NITZ/CMUX/HTTPS/SMTP/MMS/FTPS/
SMTPS/SSL/FILE protocol
support PAP (Password Authentication Protocol) and CHAP (Challenge Handshake
Authentication Protocol)
Hardware
Antenna
SMA Interface
Data interface
RS485 /RS232
Baud rate
Support max 921600bps,default 115200bps
Transmitting power
Class 4 (33dBm±2dB) for GSM900
Class 1 (30dBm±2dB) for DCS1800
Class E2 (27dBm±3dB) for GSM900 8-PSK
Class E2 (26dBm±3dB) for DCS1800 8-PSK
Class 3 (24dBm+2/-1dB) for CDMA BC0
Class 3 (24dBm+1/-3dB) for WCDMA bands
Class 2 (24dBm+1/-3dB) for TD-SCDMA bands
Class 3 (23dBm±2dB) for LTE-FDD bands
Class 3 (23dBm±2dB) for LTE-TDD bands

4G/LTE Serial Server E840-DTU(4G-01)User Manual
Copyright ©2012–2017,Chengdu Ebyte Electronic Technology Co. LTD. 5
Sensitivity
FDD B1: -101.6dBm (10M)
FDD B3: -101.9dBm (10M)
FDD B5: -102dBm (10M)
FDD B8: -102.1dBm (10M)
TDD B38: -101.3dBm (10M)
TDD B39: -101.2dBm (10M)
TDD B40: -101.4dBm (10M)
TDD B41: -101.4dBm (10M)
WCDMA B1: -112dBm
WCDMA B8: -112dBm
TD-SCDMA B34: -110dBm
TD-SCDMA B39: -110dBm
CDMA BC0: -108dBm
GSM 900: -109dBm
GSM 1800: -109dBm
Consumption(Typical)
11uA @power off
1.8mA @LTE sleep (PF=128)
1.5mA @LTE sleep (PF=256)
20mA @ idle
Bandwidth
1.4/3/5/10/15/20MHz
Operating temperature
-30℃- 75℃
Operating voltage
DC 8V~28V
Size
82×84×24mm
RS485 /RS232
Electrical isolation, RS485/RS232
3GPP Frequency
Transmitting(MHz)
Receiving(MHz)
EGSM900
880~915
925~960
DCS1800
1710~1785
1805~1880
CDMA BC0
824~849
869~894
WCDMA B1
1920~1980
2110~2170
WCDMA B8
880~915
925~960
TD-SCDMA B34
2010~2025
2010~2025
TD-SCDMA B39
1880~1920
1880~1920
LTE-FDD B1
1920~1980
2110~2170
LTE-FDD B3
1710~1785
1805~1880
LTE-FDD B5
824~849
869~894
LTE-FDD B8
880~915
925~960
LTE-TDD B38
2570~2620
2570~2620
LTE-TDD B39
1880~1920
1880~1920
LTE-TDD B40
2300~2400
2300~2400
LTE-TDD B41
2555~2655
2555~2655

4G/LTE Serial Server E840-DTU(4G-01)User Manual
Copyright ©2012–2017,Chengdu Ebyte Electronic Technology Co. LTD. 6
1.3. Interface description

4G/LTE Serial Server E840-DTU(4G-01)User Manual
Copyright ©2012–2017,Chengdu Ebyte Electronic Technology Co. LTD. 7
1.4. Pin definition
Pin No.
Name
Description
1
RS232
RS232
2
485_A
Connect to port A of other RS485 devices
3
485_B
Connect to port B of other RS485 devices
4
GND
Ground
5
VCC
Power supply,range: 8~28V
6
PWR
Power indicator
7
WORK
UART communication indicator
8
NEL
DTU SOCK0 network operating indicator
Off:Initiating
Flash quickly:Initiating failed(indicator off for 1900ms,on for 100ms)
Flash slowly:connect to base station,building communication with network server (indicator off for 300ms,
on for 100ms)
On:connect to server
9
DC8~28V
For power adaptor,range: 8~28V
10
RST
Reset switch(downward,reset)
11
Restore
Operating dip switch
Once power on,let DTU switch top-down for 3~10S,and bottom-up,then DTU enters factory setting and
restart immediately
12
SIM
SIM
13
ANT
Antenna(SMA-K,50Ω impedance match)
2. Quick start
2.1. Hardware
Hardware for test are as follows:
One piece of E840-DTU(4G-01) modem
One piece of 12V power adaptor
USB to RS485 converter or USB to RS232 converter (optional)
One piece of LTE sucker antenna(TXGN-XP-300)

4G/LTE Serial Server E840-DTU(4G-01)User Manual
Copyright ©2012–2017,Chengdu Ebyte Electronic Technology Co. LTD. 8
Before testing, connect the serial cable, SIM card, antenna and other hardware according to the recommended circuit.
1、 1. Enter the AT command mode and send +++ in the serial port assistant (except for +++ , one does not need to check to send a new line,
other AT commands need to check to send a new line to be valid), one must send any other AT command within 3s after sending +++
command (except for restarting the AT command) to enter the AT command mode completely.
2、 After entering AT command mode,use AT+CPIN to check SIM card connection status:
For example:AT+CPIN
+OK=1
Means SIM card is connected,use AT+CSQ to read current signal strength;
For example:AT+CSQ
+OK=26
Indicates that the current signal strength is normal. If the response is 99, the current signal strength is abnormal. Check whether the current
antenna is connected or whether the surrounding base station is abnormal.
Execute the parameter modification command. If the baud rate is modified, it needs to be restarted to be valid.
3、 Connect to server,AT+SOCK=TCPC,116.62.42.192,31687 (The parameters are separated by commas in English characters, and the IP
commands are separated by English characters.),for SOCK1,SOCK2,SOCK3,one needs to add an enable command on the front end.
SOCK setting
For example:AT+SOCK=TCPC,116.62.42.192,31687
+OK
SOCK1、SOCK2、SOCK3 setting
For example:AT+SOCK=0,TCPC,116.62.42.192,31687
+OK
Setting succeed。
4、Restart
After returning +OK, it is necessary to restart the command AT+REBT to be valid. Here, the IP is only used for demonstration. The actual
connection is based on the IP of the server to be connected.

4G/LTE Serial Server E840-DTU(4G-01)User Manual
Copyright ©2012–2017,Chengdu Ebyte Electronic Technology Co. LTD. 9
4、 4. After the base station is connected, the NET light is always on to indicate that the server is connected, and transparent transmission is
available.
2.2. Data transmission test
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

4G/LTE Serial Server E840-DTU(4G-01)User Manual
Copyright ©2012–2017,Chengdu Ebyte Electronic Technology Co. LTD.
10
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-01)_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/LTE Serial Server E840-DTU(4G-01)User Manual
Copyright ©2012–2017,Chengdu Ebyte Electronic Technology Co. LTD.
11
a) AT mode:under this mode all UART data is considered as AT command.
b) Mode switch,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.
2、Network function
a) Short connection: In TCP Client mode, the short connection function is enabled. If there is no data reception in the serial port or network port
within the set time, the network connection will be automatically disconnected. The short connection function is turned off by default. The connection
time can be set from 2 to 255 seconds. When set to 0, the short connection function is disabled.
b) Registration package: The registration package is closed by default. The user can configure 4 types of registration packages. You can choose to
send the physical address (IMEI code) when connecting, send custom data when connecting, add the physics before the connection and each packet
of data. Custom data is added to the address, connection time, and data before each packet. The maximum length of the custom registration packet is
40 bytes (when set to HEX format, the maximum length is 20 bytes).
c) Heartbeat packet: In the idle state of network communication, the heartbeat packet is used for network state maintenance. The heartbeat
period can be set from 0 to 65535 seconds, and the maximum length of the heartbeat packet is 40 bytes (when set to HEX format, the maximum
length is 20 bytes). Supports two heartbeat types: network heartbeat and serial heartbeat. When the network heartbeat is selected, the communication
idle time starts, and the heartbeat data packet is sent to the server according to the configured heartbeat period. Select the serial port heartbeat, start
timing with communication idle, and send heartbeat packets to the serial port according to the configured heartbeat period.
Clear the cache: Before the connection to the server is established, the data received by the serial port will be cached. When the connection
with the server is established, you can choose whether to clear the cached data. By default, the cache is cleared. The maximum size of each Socket in
the local cache is 128 bytes, and each Socket buffer is independent of each other.
3. Enable Ebyte IoT platform function
The AT+EBTIOT command is used to set whether the module enables the transparent transmission function of the EBYTE cloud platform, after it is turned
on, the information such as the heartbeat and registration packet configured by the user will be invalid. The user only needs to set the forwarding relationship
of the corresponding device to the platform to implement the device. Data is transparent. For details of the related operations, please refer to the "Ebyte
Cloud Platform Transparent Transmission Guide".

4G/LTE Serial Server E840-DTU(4G-01)User Manual
Copyright ©2012–2017,Chengdu Ebyte Electronic Technology Co. LTD.
12
4. AT command
a) Command format:
AT+<CMD>[op][ para1, para2, para3,…]<CR><LF>
AT+:command front end
CMD:control command
[op]:“=” indicates parameter configuration
“NULL”indicates parameters inquire
[para-n]:parameter list
<CR><LF>:CRLF,ASCII 0x0D 0x0A
b) Command error code:
Error code
Description
-1
Invalid command format
-2
Invalid command
-3
Invalid operator
-4
Invalid parameter
-5
Operation prevented
c) Command set:
Command
Description
REBT
restart module
VER
inquire version No.
INFO
inquire device info.
EXAT
exit AT command mode
RESTORE
restore to factory configuration
UART
set/inquire UART parameter
UARTCLR
set/inquire if UART buffer is cleared before
module is connected
MAC
inquire MAC address
IMEI
inquire IMEI
LINKSTA
inquire SOCK connection status
LINKSTA1
inquire SOCK1 connection status
LINKSTA2
inquire SOCK2 connection status
LINKSTA3
inquire SOCK3 connection status
SOCK
set/inquire SOCK parameter
SOCK1
set/inquire SOCK1 parameter
SOCK2
set/inquire SOCK2 parameter
SOCK3
set/inquire SOCK3 parameter
REGMOD
set/inquire register packet mode
REGINFO
set/inquire self-defined registration info.
(ASCII)
REGINFONEW
set/inquire self-defined registration info
(ASCII ,HEX)
HEARTMOD
set/inquire heartbeat packet mode
HEARTINFO
set/inquire self-defined heartbeat packet
info.(ASCII)
HEARTINFONEW
set/inquire heartbeat packet info.(ASCII, HEX)

4G/LTE Serial Server E840-DTU(4G-01)User Manual
Copyright ©2012–2017,Chengdu Ebyte Electronic Technology Co. LTD.
13
HEARTM
set/inquire heartbeat packet time
SHORTM
set/inquire short connection time
EBTIOT
set/inquire to enable Ebyte IoT Cloud Platform
CREG
Inquire if it is registered to network
CSQ
inquire signal strength
CPIN
Inquire SIM card status
POTOCOL
set/inquire if protocol transmission mode starts
a) Command Description:
AT+REBT
Function: Restart module
Format: configure
Transmit:AT+REBT<CR>
return:<CR><LF>+OK<CR><LF>
Parameter:None
Description:After the command is executed correctly, the module restarts immediately and enters the transparent transmission mode after restarting.
AT+VER
Function: inquire firmware version
Format: configure
transmit AT+VER<CR><LF>
return <CR><LF>+OK=<ver><CR><LF>
Parameter:ver firmware version
Description:None
AT+INFO
Function: Inquire module type and version info.
Format: configure
transmit AT+INFO<CR><LF>
return <CR><LF>+OK=<mod_name>,<hw_ver>,<sw_ver><CR><LF>
Parameter: mod_name module name
hw_ver hardware version
sw_ver software version
Description:None
AT+EXAT
Function: exit command mode,enter transparent transmission mode
Format: configure
transmit AT+EXAT<CR><LF>
return <CR><LF>+OK<CR><LF>
Parameter:None
Description: After the command is executed correctly, the module is switched from command mode to the transparent transmission mode.
AT+RESTORE
Function: restore factory configuration
Format: configure
transmit AT+RESTORE<CR><LF>
return <CR><LF>+OK<CR><LF>
Parameter:None
Description:None
AT+UART
Function: set/inquire UART parameters

4G/LTE Serial Server E840-DTU(4G-01)User Manual
Copyright ©2012–2017,Chengdu Ebyte Electronic Technology Co. LTD.
14
Format: inquire
transmit:AT+UART<CR>
return:<CR><LF>+OK=<baudrate>,< parity ><CR><LF>
configure
transmit:AT+UART=<baudrate>,< parity ><CR><LF>
return:<CR><LF>+OK<CR><LF>
Parameter: baudrate baud rate 1200~921600bps,self-defined
Parity Parity NON E None
EVEN
ODD
description:none
AT+UARTCLR
Function: Set/inquire whether to clear the serial port cache before connecting the module.
Format: Inquire
transmit:AT+ UARTCLR <CR>
return:<CR><LF>+OK=< sta ><CR><LF>
configure
transmit:AT+ UARTCLR =< sta ><CR>
return:<CR><LF>+OK<CR><LF>
Parameter: sta status
ON Clear the serial port cache before connecting.
OFF Do not clear the serial port cache before connecting.
AT+MAC
Function: inquire MAC.
Format: inquire
transmit:AT+MAC<CR>
return:<CR><LF>+OK=<mac><CR><LF>
Parameter: mac MAC address of module
AT+IMEI
Function: inquire the IMEI of module
Format: inquire
transmit:AT+IMEI<CR>
return:<CR><LF>+OK=<imei><CR><LF>
parameter: imei IMEI of module
AT+LINKSTA
Function: inquire whether TCP connection is established
Format: inquire
transmit:AT+LINKSTA<CR>
return:<CR><LF>+OK=<sta><CR><LF>
Parameter: Sta whether establish TCP connection,Connect(TCP connection)/ Disconnect(TCP cut off)
AT+LINKSTA1
Function: inquire TCP whether TCP connection is established
Format: inquire
transmit:AT+LINKSTA1<CR>
return:<CR><LF>+OK=<sta><CR><LF>
Parameter: Sta whether establish TCP connection,Connect(TCP connection)/ Disconnect(TCP cut off)
AT+LINKSTA2

4G/LTE Serial Server E840-DTU(4G-01)User Manual
Copyright ©2012–2017,Chengdu Ebyte Electronic Technology Co. LTD.
15
Function: inquire whether TCP connection is established
Format: inquire
transmit:AT+LINKSTA2<CR>
return:<CR><LF>+OK=<sta><CR><LF>
Parameter: Sta whether establish TCP connection,Connect(TCP connection)/ Disconnect(TCP cut off)
AT+LINKSTA3
Function: inquire whether TCP connection is established
Format: inquire
transmit:AT+LINKSTA3<CR>
return:<CR><LF>+OK=<sta><CR><LF>
Parameter: Sta whether establish TCP connection,Connect(TCP connection)/ Disconnect(TCP cut off)
AT+SOCK
Function: Set/query the network protocol parameter format.
Format: inquire
transmit:AT+SOCK<CR>
return:<CR><LF>+OK=<protocol>,<ip>,< port ><CR><LF>
configure
transmit:AT+SOCK=<protocol>,<ip>,< port ><CR>
return:<CR><LF>+OK<CR><LF>
Parameter: protocol protocol type, TCPC / UDPC
TCPC corresponding TCP client
UDPC corresponding UDP client
Ip The IP address or domain name of the target server when the module is set to "CLIENT"
Port The port number of the server, in decimal, less than 65535.
AT+SOCK1
Function: Set/query the network protocol parameter format.
Format: inquire
transmit:AT+SOCK1<CR>
return:<CR><LF>+OK=<EN>,<protocol>,<ip>,< port ><CR><LF>
configure
transmit:AT+SOCK1=<EN>,<protocol>,<ip>,< port ><CR>
return:<CR><LF>+OK<CR><LF>
Parameter: EN enable 0:turn off SOCK1
1:turn on SOCK1
protocol type, TCPC / UDPC
TCPC corresponding TCP client
UDPC corresponding UDP client
Ip The IP address or domain name of the target server when the module is set to "CLIENT"
Port The port number of the server, in decimal, less than 65535.
AT+SOCK2
Function: Set/query the network protocol parameter format.
Format: inquire
transmit:AT+SOCK2<CR>
return:<CR><LF>+OK=<EN>,<protocol>,<ip>,< port ><CR><LF>
configure
transmi:AT+SOCK2=<EN>,<protocol>,<ip>,< port ><CR>
return:<CR><LF>+OK<CR><LF>
Parameter: EN enable 0:turn off SOCK2

4G/LTE Serial Server E840-DTU(4G-01)User Manual
Copyright ©2012–2017,Chengdu Ebyte Electronic Technology Co. LTD.
16
1:turn on SOCK2
protocol type, TCPC / UDPC
TCPC corresponding TCP client
UDPC corresponding UDP client
Ip The IP address or domain name of the target server when the module is set to "CLIENT"
Port The port number of the server, in decimal, less than 65535.
AT+SOCK3
Function: Set/query the network protocol parameter format.
Format: inquire
transmit:AT+SOCK3<CR>
return:<CR><LF>+OK=<EN>,<protocol>,<ip>,< port ><CR><LF>
configure
transmit:AT+SOCK3=<EN>,<protocol>,<ip>,< port ><CR>
return:<CR><LF>+OK<CR><LF>
Parameter: EN enable 0:turn off SOCK3
1:turn on SOCK3
protocol type, TCPC / UDPC
TCPC corresponding TCP client
UDPC corresponding UDP client
Ip The IP address or domain name of the target server when the module is set to "CLIENT"
Port The port number of the server, in decimal, less than 65535.
AT+REGMOD
Function: Set the query registration package mechanism.
Format: inquire
transmit:AT+REGMOD<CR>
return:<CR><LF>+OK=<status><CR><LF>
configure
transmit:AT+REGMOD =<status><CR>
return:<CR><LF>+OK<CR><LF>
Parameter:status registration package mechanism.
EMBMAC adds MAC/IMEI as registration packet data before each packet sent to the server.
EMBCSTM adds custom registration package data before each packet is sent to the server.
OLMAC sends a MAC/IMEI registration packet only when it is first linked to the server.
OLCSTM sends a user-defined registration package only the first time it is linked to the server.
OFF Disables the registration of the packet mechanism.
AT+REGINFO
Function Set the contents of the query custom registration package
Format: Query
transmit:AT+ REGINFO <CR>
return:<CR><LF>+OK=<data><CR><LF>
configure
transmit:AT+ REGINFO =<data><CR>
return:<CR><LF>+OK<CR><LF>
Parameter:data ASCII in 40 bytes
AT+REGINFONEW
Function: set inquire self-defined registration package content
Format: inquire
transmit:AT+ REGINFONEW<CR>

4G/LTE Serial Server E840-DTU(4G-01)User Manual
Copyright ©2012–2017,Chengdu Ebyte Electronic Technology Co. LTD.
17
return:<CR><LF>+OK=<type>,<data><CR><LF>
configure
transmit:AT+ REGINFONEW =<type>,<data><CR>
return:<CR><LF>+OK<CR><LF>
Parameter:type
0 Registration package type is HEX
1 Registration package type is ASCII code
data
ASCII code within 40 bytes, when the registration packet type is HEX, the content must be in the legal HEX format and the length must be an
even number.
AT+HEARTMOD
Function: set/inquire heartbeat mode
Format: inquire
transmit:AT+ HEARTMOD<CR>
return:<CR><LF>+OK=<mode><CR><LF>
configure
transmit:AT+ HEARTMOD=<mode><CR>
return:<CR><LF>+OK<CR><LF>
parameter:mode
NET Network heartbeat package
UART UART heartbeat package
AT+HEARTINFO
Function: Set/inquire heartbeat package data
Format: inquire
transmit:AT+ HEARTINFO<CR>
return:<CR><LF>+OK=<data><CR><LF>
configure
transmit:AT+ HEARTINFO=<data><CR>
return:<CR><LF>+OK<CR><LF>
Parameters: ASCII heartbeat packet data within 40 bytes of data.
AT+HEARTINFONEW
Function: configure/inquire heartbeat packet data
Format: inquire
transmit:AT+ HEARTINFONEW<CR>
return:<CR><LF>+OK=<type>,<data><CR><LF>
configure
transmit:AT+ HEARTINFO=<type>,<data><CR>
return:<CR><LF>+OK<CR><LF>
parameter:type
0 Heartbeat package type is HEX
1 Heartbeat type is ASCII code
data
ASCII code within 40 bytes, when the heartbeat packet type is HEX, the content must be a legal HEX format and the length must be an even number.
AT+HEARTM
Function: configure/inquire heartbeat package time
Format: inquire
transmit:AT+ HEARTM <CR>
return:<CR><LF>+OK=<time><CR><LF>

4G/LTE Serial Server E840-DTU(4G-01)User Manual
Copyright ©2012–2017,Chengdu Ebyte Electronic Technology Co. LTD.
18
configure
transmit:AT+ HEARTM =<time><CR>
return:<CR><LF>+OK<CR><LF>
Parameters: time heartbeat time, 0 off, range 1 to 65535 seconds.AT+SHORTM
Function: set/inquire short connection time
Format: inquire
transmit:AT+ SHORTM<CR>
return:<CR><LF>+OK=<time><CR><LF>
configure
transmit:AT+ SHORTM=<time><CR>
return:<CR><LF>+OK<CR><LF>
parameter: time short connection time, 0 off,from 2-255 second
AT+EBTIOT
Function: set /inquire EBYTE IoT Cloud platform
Format: inquire
transmit:AT+EBTIOT <CR>
return:<CR><LF>+OK=<ctrl><CR><LF>
configure
transmit:AT+EBTIOT =<ctrl><CR>
return:<CR><LF>+OK<CR><LF>
parameter: ctrl EBYTE IoT function switch,0 off/1 on
Note: After the IoT cloud function is enabled, the module is automatically connected to the Yiyi special IoT platform, ignoring the sock configuration,
registration package, and heartbeat package function.AT+CSQ
Function: inquire signal strength
Format: configure
transmit AT+CSQ<CR><LF>
return <CR><LF>+OK=<csq><CR><LF>
parameter: csq signal strength
description:none
AT+CREG
Function: inquire whether it is registered with the carrier.
Format: configure
transmit AT+CREG<CR><LF>
return <CR><LF>+OK=<creg><CR><LF>
Parameter: creg
1 Register to the network
0 not registered to the network1
Description: None
AT+CPIN
Function: inquire SIM card status
Format: configure
transmit AT+CPIN<CR><LF>
return <CR><LF>+OK=<cpin><CR><LF>
Parameter: cpin
1 Able to detect SIM card
0 unable to detect SIM card
Description: None
AT+ POTOCOL

4G/LTE Serial Server E840-DTU(4G-01)User Manual
Copyright ©2012–2017,Chengdu Ebyte Electronic Technology Co. LTD.
19
Function: Set/inquire Whether to enable protocol transmission (valid under 4G multi socket)
Format: inquire
transmit:AT+ POTOCOL <CR>
return:<CR><LF>+OK=<sta><CR><LF>
configure
transmit:AT+ POTOCOL =<data><CR>
return:<CR><LF>+OK<CR><LF>
Parameters: data status
ON turns on the EBYTE transmission of the protocol
OFF Turns on the EBYTE transparent transmission
5. Notes
1. The first Socket of this module will always be opened. After the initialization is successful, it will automatically establish a connection with the configured
network network server. After the first connection is successful, the NET light will be on. If the NET light has been flashing slowly, the module is initialized
successfully. However, it has not been able to establish a connection with the server. In this case, please check whether the module network server
parameter configuration is correct.
2. The module Socket1, Socket2, and Socket3 do not have a connection indicator. The user can check the corresponding Socket connection status
through the AT+LINKSTAx command.
3. After the module is powered on, it cannot be initialized successfully. That is, after waiting for a short time, the NET light flashes quickly. At this time,
check whether the module is installed normally, whether the SIM card is normally inserted, whether the SIM has failed, and whether the module radio
antenna is properly connected.
4. The short connection function can be used to reduce the connection pressure of multiple devices to the server. When the short connection function is
enabled (AT+SHORTM>2), the module will actively disconnect the connection when the network or serial port has no data duration exceeding the short
connection setting period. After the disconnection, the network cannot send data, and the local serial port sends For valid data, the module will
immediately establish a connection with the server. If the local clear cache function is turned off, the data packet will be cached (up to 128 bytes). After
the connection is successful, the data will be sent to the server. The local cache function is cleared and the packet will be discarded.
5. The heartbeat function is used to maintain the connection after the module and the server successfully establish a connection. In the network, if the
client and the network server successfully establish a connection and there is no data transmission for a long time, the Socket link may appear “dead”
phenomenon, that is, The link exists but cannot send or receive data. Therefore, in actual use, it is recommended to enable the heartbeat packet function
to ensure the reliability of the network link.
6. In actual use, it is normal for the data delay of the two communications to be different.
7. The maximum single packet length supported by a single link in this module is 1024 bytes. A local serial port or a network sending a packet exceeding
this length in a single transmission may cause a packet abnormality.
6. Important Statement
All rights to interpret and modify this manual belong to Ebyte.
This manual will be updated based on the upgrade of firmware and hardware, please refer to the latest version.
Please refer to our website for new product information.
Other manuals for E840-DTU
7
This manual suits for next models
1
Table of contents
Other Ebyte Server manuals
Popular Server manuals by other brands

Cisco
Cisco UCS X210c M6 Installation and service note

Dell
Dell Dimension 2400 Series install guide

HP
HP ProLiant ML110 Quickspecs

Lenovo
Lenovo ThinkServer TD350 User guide and hardware maintenance manual

Lenovo
Lenovo THINKSERVER RS210 Informações de Suporte e Garantia

Lenovo
Lenovo ThinkAgile VX3320 Product guide