Ebyte E78-868LN22S User Manual page 20

Lorawan wireless module
Hide thumbs Also See for E78-868LN22S:
Table of Contents

Advertisement

E78-864LN22S
Command
character
DRX
(Receive data)
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.
AT+DTRX=1,2,10,0123456789
OK+SEND:03
OK+SENT:01
OK+RECV:02,01,00
Example
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
Command Format
Type
Test
AT+DRX=?
command
Query
AT+DRX?
command
Parameter
Return value:
response
+DRX:<Length>,<Payload>
OK
+DRX:<Length>,<Payload>
OK
20

Advertisement

Table of Contents
loading

Table of Contents