602 #ifndef __RFC_STRUCT_ATTR 603 #if defined(__GNUC__) 604 #define __RFC_STRUCT_ATTR __attribute__ ((aligned (4))) 605 #elif defined(__TI_ARM__) 606 #define __RFC_STRUCT_ATTR __attribute__ ((__packed__,aligned (4))) 608 #define __RFC_STRUCT_ATTR 630 #define CMD_HID_TX 0x5801 640 uint8_t triggerType:4;
653 uint8_t bAutoRetransmit:1;
659 uint8_t bIncludeAddr:1;
663 uint8_t bFixedTxLen:1;
671 uint8_t bAutoFlushIgnored:1;
672 uint8_t bAutoFlushCrcErr:1;
673 uint8_t bIncludeAddr:1;
674 uint8_t bIncludeHdr:1;
675 uint8_t bIncludeCrc:1;
676 uint8_t bAppendRssi:1;
677 uint8_t bAppendStatus:1;
678 uint8_t bAppendTimestamp:1;
688 uint8_t bAlwaysAutoRetransmit:1;
704 #define CMD_HID_RX 0x5802 714 uint8_t triggerType:4;
729 uint8_t bRepeatNok:1;
733 uint8_t bIncludeAddr:1;
742 uint8_t bAutoFlushIgnored:1;
743 uint8_t bAutoFlushCrcErr:1;
744 uint8_t bIncludeAddr:1;
745 uint8_t bIncludeHdr:1;
746 uint8_t bIncludeCrc:1;
747 uint8_t bAppendRssi:1;
748 uint8_t bAppendStatus:1;
749 uint8_t bAppendTimestamp:1;
757 uint8_t triggerType:4;
781 uint8_t autoAckMode:2;
787 uint8_t bFixedTxLen:1;
800 uint8_t bAckPayloadSent:1;
834 uint8_t syncWordId:1;
uint8_t seqNo
Sequence number to use for next packet.
Definition: rf_hid_cmd.h:682
uint16_t crcVal
CRC value (last two bytes if more than 2 CRC bytes) of last successfully received packet...
Definition: rf_hid_cmd.h:804
ratmr_t timeStamp
Time stamp of last received packet.
Definition: rf_hid_cmd.h:822
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_hid_cmd.h:712
uint8_t __dummy0
Definition: rf_hid_cmd.h:754
uint8_t pktLen
Length of transmitted packet.
Definition: rf_hid_cmd.h:684
uint8_t nTx
Number of packets or acknowledgements transmitted.
Definition: rf_hid_cmd.h:814
uint8_t maxAckLen
Maximum length of ACKs.
Definition: rf_hid_cmd.h:683
uint8_t nRxNok
Number of packets that have been received with CRC error.
Definition: rf_hid_cmd.h:816
uint8_t numAddr
Number of address entries.
Definition: rf_hid_cmd.h:753
uint16_t commandNo
The command ID number 0x5802.
Definition: rf_hid_cmd.h:707
dataQueue_t * pRxQueue
Pointer to receive queue.
Definition: rf_hid_cmd.h:766
HID Transmit Command with Auto Retransmission.
Definition: rf_hid_cmd.h:632
uint16_t commandNo
The command ID number 0x5801.
Definition: rf_hid_cmd.h:633
ratmr_t endTime
Time used together with endTrigger for ending the operation.
Definition: rf_hid_cmd.h:764
uint8_t __dummy0
Definition: rf_hid_cmd.h:820
uint16_t retransDelay
Number of RAT ticks from start of transmission of a packet to retransmission.
Definition: rf_hid_cmd.h:694
#define __RFC_STRUCT_ATTR
Definition: rf_hid_cmd.h:608
Definition: rf_hid_cmd.h:831
uint8_t nRxAborted
Number of packets not received due to device address mismatch, invalid length, or abort command...
Definition: rf_hid_cmd.h:819
uint8_t nRxIgnored
Number of packets ignored as retransmissions or empty ACKs.
Definition: rf_hid_cmd.h:817
int8_t lastRssi
RSSI of last received packet.
Definition: rf_hid_cmd.h:821
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
Definition: rf_hid_cmd.h:708
Definition: rf_hid_cmd.h:813
uint8_t __dummy1
Definition: rf_hid_cmd.h:755
rfc_hidRxTxOutput_t * pOutput
Pointer to output structure.
Definition: rf_hid_cmd.h:767
uint8_t nRxBufFull
Number of packets that have been received and discarded due to lack of buffer space.
Definition: rf_hid_cmd.h:818
Definition: rf_hid_cmd.h:776
uint32_t syncWord0
Sync word to listen for.
Definition: rf_hid_cmd.h:751
uint8_t * pPkt
Pointer to transmit queue for packets.
Definition: rf_hid_cmd.h:695
uint8_t maxPktLen
Packet length for fixed length, maximum packet length for variable length.
Definition: rf_hid_cmd.h:792
#define __RFC_STRUCT
Definition: rf_hid_cmd.h:599
uint32_t syncWord1
Alternative sync word if non-zero.
Definition: rf_hid_cmd.h:752
uint8_t nRxOk
Number of packets that have been received with CRC OK.
Definition: rf_hid_cmd.h:815
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
Definition: rf_hid_cmd.h:638
uint32_t ratmr_t
Type definition for RAT.
Definition: cc13x2_cc26x2/driverlib/rf_mailbox.h:57
dataQueue_t * pTxQueue
Pointer to transmit queue for acknowledgements in use for the address.
Definition: rf_hid_cmd.h:803
uint16_t status
An integer telling the status of the command. This value is updated by the radio CPU during operation...
Definition: rf_hid_cmd.h:634
rfc_hidRxTxOutput_t * pOutput
Pointer to output structure.
Definition: rf_hid_cmd.h:697
HID Recieve Command with Auto Ack.
Definition: rf_hid_cmd.h:706
uint32_t syncWord
Sync word to send.
Definition: rf_hid_cmd.h:680
rfc_hidAddrEntry_t * pAddrEntry
Pointer to array of address entries.
Definition: rf_hid_cmd.h:765
Type definition for a data queue.
Definition: cc13x2_cc26x2/driverlib/rf_mailbox.h:62
dataQueue_t * pRxQueue
Pointer to receive queue for ACKs.
Definition: rf_hid_cmd.h:696
uint8_t address
Address byte.
Definition: rf_hid_cmd.h:681
Definition: cc13x2_cc26x2/driverlib/rf_common_cmd.h:122
uint8_t address
Address byte of packet.
Definition: rf_hid_cmd.h:793
uint8_t maxRetrans
Maximum number of retransmissions.
Definition: rf_hid_cmd.h:685