Ebyte E78-868LN22S User Manual page 18

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

Advertisement

E78-868LN22S
Command
character
DTRX
(Send and
receive data)
0 – turn off automatic JOIN
1 – The automatic JOIN. module automatically starts JOIN after entering
the transparent mode.
[ParaTag3]indicates the JOIN period,Range of values:7~255, The unit is s.
Factory default: 8。
[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],
[nbtrials],<Length>,
Setting
<Payload>
command
OK+SEND:TX_LEN
OK+SENT:TX_CN
Parameter
Confirm and nbtrials refer to the corresponding AT command, which is
Description
valid 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?
Return value
Confirm type data:
description
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
not reach the maximum number, it will retry again. If the downlink
message is not received after the maximum number of times is reached, it
is a failure and output.
ERR+SENT message. During this period, if the transmission of the
response message is received, it is successful and the OK+SEND,
response
+DTRX:[confirm],[nbtrials],<Length>,<
Pay
load>
OK
OK+SEND:TX_LEN
OK+SENT:TX_CNT
OK+RECV:TYPE,PORT,LEN,DATA
或者
ERR+SEND:ERR_NUM
ERR+SENT:TX_CNT
18

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents