E78-864LN22S
20
OK+SEND: TX_LEN indicates that the data transmission request was
successful, TX_LEN: 1Byte, the length of the transmitted data
OK+SENT: TX_CNT indicates that the data transmission was successful,
TX_CNT: 1Byte, the number of data transmissions.
ERR+SEND: ERR_NUM indicates that the data transmission request failed
for the reason indicated by ERR_NUM.
ERR_NUM
:
1 Byte
,
0- Not in the network
1- Communication is busy, sending request failed
2- The data length exceeds the current transmittable length, and only the
MAC command is sent.
ERR+SENT: TX_CNT indicates that the data transmission failed, the
maximum number of transmissions has been reached, TX_CNT: 1 Byte, and
the number of data transmissions.
OK+RECV:TYPE,PORT,LEN,DATA Successful data reception (received
response message or active downlink data)
TYPE
:
1Byte
,
downstream transmission type
Bit0
:
0-unconfirm
,
1-confirm
Bit1
:
0-not ACK
,
1-ACK
Bit2
:
0-not carried, 1-carried, indicating whether link command response is
carried in downlink data
Bit30-not carried, 1-carried, indicating whether time command response is
carried in downstream data. Only when this bit is 1, time synchronization is
successful
Bit4~Bit7
:
default 0, reserved
PORT
:
1Byte
,
downstream transmission port
LEN
:
1Byte
,
downstream data length
DATA
:
nByte
,
downstream data
,
When len = 0, this field does not exist.
Example
AT+DTRX=1,2,10,0123456789
OK+SEND:03
OK+SENT:01
OK+RECV:02,01,00
Indicates that the confirm data is sent successfully. The valid data received
by the server should be "0123456789", and the downstream confirmation has
been received.
Precautions
Enter the network first, then send data
Command
character
Command
Type
Command Format
response
DRX
(
Receive data
)
Test
command
AT+DRX=?
+DRX:<Length>,<Payload>
OK
Query
command
AT+DRX?
+DRX:<Length>,<Payload>
OK
Parameter
Return value: