Ebyte E78-DTU User Manual page 27

Table of Contents

Advertisement

command
character
DTRX
Send and
(
receive data
)
Copyright©2012–2023, Chengdu Ebyte Electronic Technology Co., Ltd.
[ParaTag4] indicates the maximum number of JOIN attempts, the value range of
ParaTag4: 1~255
AT+CJOIN=1,1,10,8 (Set JOIN parameters: enable automatic JOIN, JOIN period is
10s, maximum number of attempts is 8)
example
OK
+CJOIN:OK
Precautions
Need to set before Join
command
command format
type
test
AT+DTRX=?
command
AT+DTRX=[confirm],
[nbtrials],<Length>,
set
<Payload>
command
OK+SEND:TX_LEN
OK+SENT:TX_CN
Parameter
Refer to the corresponding AT command for confirm and nbtrials,
Description
which are only valid for this sending and optional.
Length: Indicates the number of character strings; see the access
specification for details on the maximum value; the length of bytes
allowed to be transmitted at different rates is different (see the
LoRaWan protocol for details), and 0 means sending an empty data
packet.
Payload: Hexadecimal (2 characters represent 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 times out and does not receive a
Return value
response message, it will retry again if the maximum number of times
description
has not been reached. If no downlink message is received until the
maximum number of times is reached, it will fail and output
ERR+SENT message. During this period, if the transmission of the
response message is received, it is considered successful, and the
OK+SEND, OK+SENT and OK+RECV messages are output.
Unconfirm type data:
No downlink response will be requested after data is sent, and
OK+SEND, OK+SENT messages will be returned at the end of each
transmission. If downlink data is received, then send OK+RECV
message.
2. Data sending status prompt
response
+DTRX:[confirm],[nbtrials],<Length>,<Pay
load>
OK
OK+SEND:TX_LEN
OK+SENT:TX_CNT
OK+RECV:TYPE,PORT,LEN,DATA
or
ERR+SEND:ERR_NUM
ERR+SENT:TX_CNT
27

Advertisement

Table of Contents
loading

This manual is also suitable for:

900ln22

Table of Contents