Chengdu Ebyte Electronic Technology Co.,Ltd
E840-DTU(4G-02E) User Manual
Copyright ©2012–2019
,
Chengdu Ebyte Electronic Technology Co.,Ltd
25
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
:
statusregistration 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>
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>