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