rflib
|
#include <rf_hid_cmd.h>
Data Fields | |
struct { | |
uint8_t ena0:1 | |
0: Disable entry for syncWord0 1: Enable entry for syncWord0 More... | |
uint8_t ena1:1 | |
0: Disable entry for syncWord1 1: Enable entry for syncWord1 More... | |
uint8_t autoAckMode:2 | |
0: Always disable auto-acknowledgement for the entry 1: Always enable auto-acknowledgement for the entry 2: Enable auto-acknowledgement for the entry only if received NO_ACK bit is 0 3: Enable auto-acknowledgement for the entry only if received NO_ACK bit is 1 More... | |
uint8_t bVarLen:1 | |
0: Use fixed length given by maxPktLen in receiver when receiving packets 1: Use variable length in receiver when receiving packets More... | |
uint8_t bFixedTxLen:1 | |
0: Use actual length in header when sending ACK 1: Use fixed word in length field of header when sending ACK and no payload (only for peer without variable length ACKs) More... | |
} | addrConfig |
uint8_t | maxPktLen |
Packet length for fixed length, maximum packet length for variable length. More... | |
uint8_t | address |
Address byte of packet. More... | |
struct { | |
uint8_t bValid:1 | |
0: The status is not valid. Any packet is viewed as new. 1: The status is valid. Only packets with a sequence number and CRC different from the previous one are accepted. More... | |
uint8_t seq:2 | |
Sequence number of last successfully received packet. More... | |
uint8_t ackSeq:2 | |
Sequence number of the next or current ACK to be transmitted. More... | |
uint8_t bAckPayloadSent:1 | |
0: The last received packet was not acknowledged with payload. 1: The last received packet was acknowledged with payload. More... | |
} | seqStat |
dataQueue_t * | pTxQueue |
Pointer to transmit queue for acknowledgements in use for the address. More... | |
uint16_t | crcVal |
CRC value (last two bytes if more than 2 CRC bytes) of last successfully received packet. More... | |
uint8_t rfc_hidAddrEntry_s::ena0 |
0: Disable entry for syncWord0
1: Enable entry for syncWord0
uint8_t rfc_hidAddrEntry_s::ena1 |
0: Disable entry for syncWord1
1: Enable entry for syncWord1
uint8_t rfc_hidAddrEntry_s::autoAckMode |
0: Always disable auto-acknowledgement for the entry
1: Always enable auto-acknowledgement for the entry
2: Enable auto-acknowledgement for the entry only if received NO_ACK bit is 0
3: Enable auto-acknowledgement for the entry only if received NO_ACK bit is 1
uint8_t rfc_hidAddrEntry_s::bVarLen |
0: Use fixed length given by maxPktLen in receiver when receiving packets
1: Use variable length in receiver when receiving packets
uint8_t rfc_hidAddrEntry_s::bFixedTxLen |
0: Use actual length in header when sending ACK 1: Use fixed word in length field of header when sending ACK and no payload (only for peer without variable length ACKs)
struct { ... } rfc_hidAddrEntry_s::addrConfig |
uint8_t rfc_hidAddrEntry_s::maxPktLen |
Packet length for fixed length, maximum packet length for variable length.
uint8_t rfc_hidAddrEntry_s::address |
Address byte of packet.
uint8_t rfc_hidAddrEntry_s::bValid |
0: The status is not valid. Any packet is viewed as new.
1: The status is valid. Only packets with a sequence number and CRC different from the previous one are accepted.
uint8_t rfc_hidAddrEntry_s::seq |
Sequence number of last successfully received packet.
uint8_t rfc_hidAddrEntry_s::ackSeq |
Sequence number of the next or current ACK to be transmitted.
uint8_t rfc_hidAddrEntry_s::bAckPayloadSent |
0: The last received packet was not acknowledged with payload.
1: The last received packet was acknowledged with payload.
struct { ... } rfc_hidAddrEntry_s::seqStat |
dataQueue_t* rfc_hidAddrEntry_s::pTxQueue |
Pointer to transmit queue for acknowledgements in use for the address.
uint16_t rfc_hidAddrEntry_s::crcVal |
CRC value (last two bytes if more than 2 CRC bytes) of last successfully received packet.