Ebyte E78-868LN22S User Manual page 19

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

Advertisement

E78-864LN22S
Command
character
DTRX
(Send and
receive data)
[paratag4] indicates the maximum number of join attempts. Paratag4 value
range: 1-255
AT+CJOIN=1,1,10,8(Set the join parameter: enable automatic join, the join
cycle is 10s, and the maximum number of attempts is 8)
Example
OK
+CJOIN:OK
Precautions
Set before Join.
Command
Command Format
Type
Test
AT+DTRX=?
command
AT+DTRX=[confirm],
Setting
[nbtrials],<Length>,
command
<Payload>
Parameter
Confirm and nbtrials refer to the corresponding AT command, which is valid
Description
only for this transmission, optional.
Length:indicates the number of strings; the maximum value is described in
the access specification; the byte lengths allowed to be transmitted at
different rates are different (see LoRaWan protocol for details), and 0
indicates that empty packets are sent.
Payloadhexadecimal (2 characters for 1 number);
Return value:
1、 How to judge whether the data transmission is successful?
Confirm type data:
Each time a frame of data is sent, there should be a corresponding response
message. When the module fails to receive the response message, if it does
Return
not reach the maximum number, it will retry again. If the downlink message
value
is not received after the maximum number of times is reached, it is a failure
description
and output.
ERR+SENT message. During this period, if the transmission of the response
message is received, it is successful and the OK+SEND, OK+SENT and
OK+RECV messages are output.
Unconfirm type data:
The downlink response will not be requested after the data is sent, and the
OK+SEND, OK+SENT message will be returned at the end of each
transmission. If the downlink data is received, the OK+RECV message is
sent.
2、Data sending status prompt
response
+DTRX:[confirm],[nbtrials],<Length>,<
Payload>
OK
OK+SEND:TX_LEN
OK+SENT:TX_CNT
OK+RECV:TYPE,PORT,LEN,DATA
or
ERR+SEND:ERR_NUM
ERR+SENT:TX_CNT
19

Advertisement

Table of Contents
loading

Table of Contents