4G_2G DTU Products Function
- 43 -
%VER: Software version, 3 bytes, HEX format, Ex: 01 00 03 (stands for 1.0.03)
%GSLQ: GPRS status, 2 bytes, the first for GPRS status, the second for GPRS signal
strength, HEX format, Ex: 01 16
%DATE: year, month, day time, YYYYMMDD, ASCII format, Ex: 20190211
%TIME: Hour, minute, and second time. HHMMSS, range : 000000~235959
,
ASCII
format, Ex: 165036
%HOST: Hostname, set by AT+HOST, ASCII format, Ex: Eport-HF2411
There are several ways to match custom data, such as:
The contents of the registration package are ASCII code
【
ABCDEFG
】
, AT+NREGDT=A, ABCDEFG
The contents of the registration package are hexadecimal
【
0x01 0x02 0x03 0x04 0x05
】
,
AT+NREGDT=A,%01%02%03%04%05
The content of the registration package is version signal st data
【
0x00 0x01 0x02
0x00 0x10 ABCD
】
, AT+NREGDT=A, %VER%GSLQABCD
The content of the registration package is IMEI+ data
【
355837089512343 0x00 0x01 0x02 0x03
】
AT+NREGDT=A,%IMEI%00%01%02%03
2.4.2.27.
AT+NREGSND
◼
Function: Set/Query the Transmission Method of the Communication Channel Number
Registration Package
◼
Format:
◆
Query Operation:
AT+NREGSND=<id><CR>
+ok=<id,type><CR><LF><CR><LF>
◆
Set Operation:
AT+NREGSND=<id,type><CR>
+ok<CR><LF><CR><LF>
◼
Parameter:
◆
id: Communication channel number, including the following parameters.
⚫
A: Socket A channel.
⚫
B: Socket B channel.
⚫
C: Socket C channel.
◆
type: Sending method, including
⚫
link: Send when the connection is established, default
【
link
】
⚫
data: The registration packet as the header of each packet of data
⚫
both: Support both methods at the same time
2.4.2.28.
AT+HEART
◼
Function: Set/query communication channel number heartbeat packet data
◼
Format:
◆
Query Operation:
AT+HEART=<id><CR>
+ok=<id,time,mode,type,value><CR><LF><CR><LF>
◆
Set Operation:
AT+HEART=<id,time,mode,type,value><CR>
+ok<CR><LF><CR><LF>
◼
Parameter:
◆
id: channel number, send heartbeat packets to a specific channel, including the following
parameters.
⚫
A: Socket A channel.
⚫
B: Socket B channel.
⚫
C: Socket C channel.
⚫
D: Socket D channel.
⚫
E: Socket E channel.
⚫
1: Serial port 1 channel.