Chengdu Ebyte Electronic Technology Co.,Ltd.
E78-470LN22S User Manual
Copyright ©2012–2021
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
21
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
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.