Ebyte ASR6601 User Manual page 25

Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
Returns the
value
description
example
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
that empty packets are sent.
Payload: 16 feed (2 characters for 1 number);
Return value:
1, how to judge whether the data sent successfully?
Confirm type data:
Each time you send a frame of data, you should have an answer message.
When the module timed out and did not receive an answer message, it will try
again if the maximum number is not reached, until the maximum number of times
is not received, which is a failure, and output
The ERR-SENT message. During this period, if the answer message
transmission is completed, it is successful and the OK-SEND, OK-SENT, and
OK-RECV messages are output.
Unconfirm type data:
No downstream answer is requested after the data is sent, and the OK-SEND,
OK-SENT message is returned at the end of each transfer. If downstream data is
received, a OK-RECV message is sent again.
2, data send status prompt
OK-SEND:TX_LEN indicates that the data send request was successful,
TX_LEN: 1Byte, the length of the data sent
OK-SENT: TX_CNT indicates that the data was sent successfully, TX_CNT:
1Byte, number of data sent.
ERR-SEND: ERR_NUM indicates that the data send request failed, as indicated
by the ERR_NUM. ERR_NUM: 1Byte,
0- Not online
1- Communication is busy and the request failed to be sent
2- The data length exceeds the current sendable length and only mac commands
are sent
ERR-SENT: TX_CNT indicates that the data was sent failed, with the maximum
number of transfers, TX_CNT: 1Byte, and the number of data transmissions.
OK-RECV: TYPE, PORT, LEN, DATA data reception success (received answer
message or active downstream data)
TYPE: 1Byte, downstream transfer type
Bit0: 0-unconfirm, 1-confirm
Bit1: 0-Non-ACK, 1-ACK
Bit2: 0-Unarmed, 1-Carry, indicating whether the LINK command answer is
carried in the downstream data
Bit3: 0-Carry, 1-Carry, indicating whether the TIME command answer is carried
in the downstream data, only if the bit is 1 means that the time synchronization
was successful
Bit4 to Bit7: Default 0, reserved
PORT: 1Byte, downstream port
LEN: 1Byte, downstream data length
DATA: nByte,downstream data, this field does not exist when LEN is 0.
AT-DTRX=1,2,10,0123456789
E78-868LN22S(6601)User manual
22

Advertisement

Table of Contents
loading

This manual is also suitable for:

E78-868ln22s6601

Table of Contents