44 #define __RFC_STRUCT __attribute__ ((aligned (4)))
99 uint8_t triggerType:4;
130 #define CMD_BLE_SLAVE 0x1801
139 uint8_t triggerType:4;
170 #define CMD_BLE_MASTER 0x1802
179 uint8_t triggerType:4;
210 #define CMD_BLE_ADV 0x1803
219 uint8_t triggerType:4;
250 #define CMD_BLE_ADV_DIR 0x1804
259 uint8_t triggerType:4;
290 #define CMD_BLE_ADV_NC 0x1805
299 uint8_t triggerType:4;
330 #define CMD_BLE_ADV_SCAN 0x1806
339 uint8_t triggerType:4;
370 #define CMD_BLE_SCANNER 0x1807
379 uint8_t triggerType:4;
410 #define CMD_BLE_INITIATOR 0x1808
419 uint8_t triggerType:4;
450 #define CMD_BLE_GENERIC_RX 0x1809
459 uint8_t triggerType:4;
490 #define CMD_BLE_TX_TEST 0x180A
499 uint8_t triggerType:4;
530 #define CMD_BLE_ADV_PAYLOAD 0x1001
548 uint8_t bAutoFlushIgnored:1;
549 uint8_t bAutoFlushCrcErr:1;
550 uint8_t bAutoFlushEmpty:1;
551 uint8_t bIncludeLenByte:1;
552 uint8_t bIncludeCrc:1;
553 uint8_t bAppendRssi:1;
554 uint8_t bAppendStatus:1;
555 uint8_t bAppendTimestamp:1;
562 uint8_t bAutoEmpty:1;
564 uint8_t bLlCtrlAckRx:1;
565 uint8_t bLlCtrlAckPending:1;
585 uint8_t bAutoFlushIgnored:1;
586 uint8_t bAutoFlushCrcErr:1;
587 uint8_t bAutoFlushEmpty:1;
588 uint8_t bIncludeLenByte:1;
589 uint8_t bIncludeCrc:1;
590 uint8_t bAppendRssi:1;
591 uint8_t bAppendStatus:1;
592 uint8_t bAppendTimestamp:1;
599 uint8_t bAutoEmpty:1;
601 uint8_t bLlCtrlAckRx:1;
602 uint8_t bLlCtrlAckPending:1;
611 uint8_t triggerType:4;
632 uint8_t bAutoFlushIgnored:1;
633 uint8_t bAutoFlushCrcErr:1;
634 uint8_t bAutoFlushEmpty:1;
635 uint8_t bIncludeLenByte:1;
636 uint8_t bIncludeCrc:1;
637 uint8_t bAppendRssi:1;
638 uint8_t bAppendStatus:1;
639 uint8_t bAppendTimestamp:1;
646 uint8_t bAutoEmpty:1;
648 uint8_t bLlCtrlAckRx:1;
649 uint8_t bLlCtrlAckPending:1;
658 uint8_t triggerType:4;
670 uint8_t triggerType:4;
690 uint8_t bAutoFlushIgnored:1;
691 uint8_t bAutoFlushCrcErr:1;
692 uint8_t bAutoFlushEmpty:1;
693 uint8_t bIncludeLenByte:1;
694 uint8_t bIncludeCrc:1;
695 uint8_t bAppendRssi:1;
696 uint8_t bAppendStatus:1;
697 uint8_t bAppendTimestamp:1;
700 uint8_t advFilterPolicy:2;
701 uint8_t deviceAddrType:1;
703 uint8_t peerAddrType:1;
704 uint8_t bStrictLenFilter:1;
719 uint8_t triggerType:4;
739 uint8_t bAutoFlushIgnored:1;
740 uint8_t bAutoFlushCrcErr:1;
741 uint8_t bAutoFlushEmpty:1;
742 uint8_t bIncludeLenByte:1;
743 uint8_t bIncludeCrc:1;
744 uint8_t bAppendRssi:1;
745 uint8_t bAppendStatus:1;
746 uint8_t bAppendTimestamp:1;
749 uint8_t scanFilterPolicy:1;
750 uint8_t bActiveScan:1;
752 uint8_t deviceAddrType:1;
755 uint8_t bStrictLenFilter:1;
756 uint8_t bAutoWlIgnore:1;
765 uint8_t logUpperLimit:4;
766 uint8_t bLastSucceeded:1;
767 uint8_t bLastFailed:1;
777 uint8_t triggerType:4;
785 uint8_t triggerType:4;
807 uint8_t bAutoFlushIgnored:1;
808 uint8_t bAutoFlushCrcErr:1;
809 uint8_t bAutoFlushEmpty:1;
810 uint8_t bIncludeLenByte:1;
811 uint8_t bIncludeCrc:1;
812 uint8_t bAppendRssi:1;
813 uint8_t bAppendStatus:1;
814 uint8_t bAppendTimestamp:1;
817 uint8_t bUseWhiteList:1;
818 uint8_t bDynamicWinOffset:1;
822 uint8_t deviceAddrType:1;
823 uint8_t peerAddrType:1;
824 uint8_t bStrictLenFilter:1;
836 uint8_t triggerType:4;
844 uint8_t triggerType:4;
866 uint8_t bAutoFlushIgnored:1;
867 uint8_t bAutoFlushCrcErr:1;
868 uint8_t bAutoFlushEmpty:1;
869 uint8_t bIncludeLenByte:1;
870 uint8_t bIncludeCrc:1;
871 uint8_t bAppendRssi:1;
872 uint8_t bAppendStatus:1;
873 uint8_t bAppendTimestamp:1;
883 uint8_t triggerType:4;
902 uint8_t payloadLength;
908 uint8_t bOverrideDefault:1;
911 uint8_t bUsePrbs15:1;
918 uint8_t triggerType:4;
956 uint8_t bTimeStampValid:1;
957 uint8_t bLastCrcErr:1;
958 uint8_t bLastIgnored:1;
959 uint8_t bLastEmpty:1;
1064 uint8_t bIrkValid:1;
uint8_t crcInit0
CRC initialization value used on the connection – least significant byte.
dataQueue_t * pTxQ
Pointer to transmit queue.
struct __RFC_STRUCT rfc_bleAdvOutput_s rfc_bleAdvOutput_t
rfc_bleWhiteListEntry_t * pWhiteList
Pointer to white list or peer address (directed advertiser)
struct __RFC_STRUCT rfc_bleSlavePar_s rfc_bleSlavePar_t
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
uint16_t nBackedOffScanReq
Number of SCAN_REQ packets not sent due to backoff procedure.
int8_t lastRssi
The RSSI of the last received packet.
uint16_t commandNo
The command ID number 0x1805.
uint16_t randomState
State for pseudo-random number generation used in backoff procedure.
uint16_t nTxAdvInd
Number of ADV*_IND packets completely transmitted.
uint8_t * pParams
Pointer to command specific parameter structure.
dataQueue_t * pRxQ
Pointer to receive queue.
uint16_t nRxNok
Number of packets received with CRC error.
rfc_bleInitiatorOutput_t * pOutput
Pointer to command specific output structure.
struct __RFC_STRUCT rfc_bleGenericRxOutput_s rfc_bleGenericRxOutput_t
struct __RFC_STRUCT rfc_bleMasterSlavePar_s rfc_bleMasterSlavePar_t
rfc_bleSlavePar_t * pParams
Pointer to command specific parameter structure.
rfc_bleAdvPar_t * pParams
Pointer to command specific parameter structure.
ratmr_t timeStamp
Time stamp of the last received packet.
struct __RFC_STRUCT rfc_bleWhiteListEntry_s rfc_bleWhiteListEntry_t
struct __RFC_STRUCT rfc_CMD_BLE_ADV_PAYLOAD_s rfc_CMD_BLE_ADV_PAYLOAD_t
rfc_bleGenericRxPar_t * pParams
Pointer to command specific parameter structure.
ratmr_t timeStamp
Time stamp of the last successfully received ADV*_IND packet that was not ignored.
uint16_t * pDeviceAddress
Pointer to device address used for this device.
uint8_t size
Number of while list entries. Used in the first entry of the list only.
uint8_t scanReqLen
Size of scan request data.
rfc_bleWhiteListEntry_t * pWhiteList
Pointer to white list or peer address.
uint16_t nRxAdvIgnored
Number of ADV*_IND packets received with CRC OK, but ignored.
rfc_bleMasterSlaveOutput_t * pOutput
Pointer to command specific output structure.
uint8_t nTxCtrl
Number of unique LL control packets from the Tx queue that have been transmitted. ...
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
uint8_t crcInit0
CRC initialization value used on the connection – least significant byte.
rfc_bleInitiatorPar_t * pParams
Pointer to command specific parameter structure.
struct __RFC_STRUCT rfc_bleScannerOutput_s rfc_bleScannerOutput_t
struct __RFC_STRUCT rfc_bleGenericRxPar_s rfc_bleGenericRxPar_t
uint8_t maxNack
Maximum number of NACKs received before operation ends. 0: No limit.
struct __RFC_STRUCT rfc_CMD_BLE_MASTER_s rfc_CMD_BLE_MASTER_t
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
rfc_bleScannerPar_t * pParams
Pointer to command specific parameter structure.
uint8_t * pScanReqData
Pointer to buffer containing SCAN_REQ data.
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
uint8_t nRxScanReq
Number of SCAN_REQ packets received OK and not ignored.
struct __RFC_STRUCT rfc_bleRxStatus_s rfc_bleRxStatus_t
ratmr_t timeStamp
Slave operation: Time stamp of first received packet.
struct __RFC_STRUCT rfc_CMD_BLE_INITIATOR_s rfc_CMD_BLE_INITIATOR_t
rfc_bleMasterPar_t * pParams
Pointer to command specific parameter structure.
dataQueue_t * pRxQ
Pointer to receive queue. May be NULL; if so, received packets are not stored.
struct __RFC_STRUCT rfc_bleTxTestPar_s rfc_bleTxTestPar_t
dataQueue_t * pRxQ
Pointer to receive queue.
uint16_t commandNo
The command ID number 0x1802.
uint16_t * pDeviceAddress
Pointer to device address used for this device.
dataQueue_t * pRxQ
Pointer to receive queue.
uint8_t nTxEntryDone
Number of packets from the Tx queue that have been finished (ACK'ed)
uint8_t nRxAdvOk
Number of ADV*_IND packets received with CRC OK and not ignored.
uint16_t commandNo
The command ID number 0x180A.
uint16_t address
Least significant 16 bits of the address contained in the entry.
uint8_t scanRspLen
Size of scan response data.
uint16_t nRxAdvOk
Number of ADV*_IND packets received with CRC OK and not ignored.
uint32_t accessAddress
Access address used on the connection.
uint8_t nRxAdvBufFull
Number of ADV*_IND packets received that did not fit in Rx queue.
struct __RFC_STRUCT rfc_radioOp_s rfc_radioOp_t
uint16_t commandNo
The command ID number 0x1808.
struct __RFC_STRUCT rfc_CMD_BLE_SCANNER_s rfc_CMD_BLE_SCANNER_t
uint8_t nRxConnectReq
Number of CONNECT_REQ packets received OK and not ignored.
rfc_bleAdvOutput_t * pOutput
Pointer to command specific output structure.
struct __RFC_STRUCT rfc_CMD_BLE_ADV_DIR_s rfc_CMD_BLE_ADV_DIR_t
uint8_t crcInit2
CRC initialization value used on the connection – most significant byte.
uint16_t nRxOk
Number of packets received with CRC OK.
uint16_t commandNo
The command ID number.
uint8_t nRxScanRspBufFull
Number of SCAN_RSP packets received that did not fit in Rx queue.
uint16_t nRxScanRspIgnored
Number of SCAN_RSP packets received with CRC OK, but ignored.
struct __RFC_STRUCT rfc_CMD_BLE_TX_TEST_s rfc_CMD_BLE_TX_TEST_t
rfc_bleAdvPar_t * pParams
Pointer to command specific parameter structure.
uint8_t maxPkt
Maximum number of packets transmitted in the operation before it ends. 0: No limit.
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
uint16_t commandNo
The command ID number 0x1001.
ratmr_t timeStamp
Time stamp of the last received packet.
uint8_t nRxCtrl
Number of LL control packets that have been received with CRC OK and not ignored. ...
uint16_t nRxScanRspOk
Number of SCAN_RSP packets received with CRC OK and not ignored.
uint16_t commandNo
The command ID number 0x1807.
uint8_t nRxOk
Number of packets that have been received with payload, CRC OK and not ignored.
uint16_t * pDeviceAddress
Pointer to device address used for this device.
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
dataQueue_t * pRxQ
Pointer to receive queue.
struct __RFC_STRUCT rfc_bleAdvPar_s rfc_bleAdvPar_t
uint16_t commandNo
The command ID number 0x1806.
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
uint8_t nTxScanRsp
Number of SCAN_RSP packets transmitted.
dataQueue_t * pRxQ
Pointer to receive queue.
uint8_t maxPkt
Maximum number of packets transmitted in the operation before it ends. 0: No limit.
rfc_bleAdvOutput_t * pOutput
Pointer to command specific output structure.
uint8_t connectReqLen
Size of connect request data.
dataQueue_t * pTxQ
Pointer to transmit queue.
rfc_bleAdvOutput_t * pOutput
Pointer to command specific output structure.
uint16_t nRxAdvIgnored
Number of ADV*_IND packets received with CRC OK, but ignored.
uint8_t crcInit2
CRC initialization value used on the connection – most significant byte.
uint8_t advLen
Size of advertiser data.
uint32_t accessAddress
Access address used on the connection.
uint8_t crcInit2
CRC initialization value used on the connection – most significant byte.
int8_t lastRssi
RSSI of last received packet.
uint8_t * pConnectReqData
Pointer to buffer containing LLData to go in the CONNECT_REQ.
uint16_t nRxBufFull
Number of packets that have been received and discarded due to lack of buffer space.
uint32_t ratmr_t
Type definition for RAT.
uint16_t commandNo
The command ID number 0x1809.
struct __RFC_STRUCT rfc_bleScannerPar_s rfc_bleScannerPar_t
uint16_t nTxScanReq
Number of transmitted SCAN_REQ packets.
int8_t lastRssi
The RSSI of the last received packet.
rfc_bleWhiteListEntry_t * pWhiteList
Pointer to white list.
uint8_t maxNack
Maximum number of NACKs received before operation ends. 0: No limit.
struct __RFC_STRUCT rfc_bleMasterSlaveOutput_s rfc_bleMasterSlaveOutput_t
rfc_bleAdvPar_t * pParams
Pointer to command specific parameter structure.
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
uint32_t accessAddress
Access address used on the connection.
struct __RFC_STRUCT rfc_CMD_BLE_ADV_NC_s rfc_CMD_BLE_ADV_NC_t
uint32_t accessAddress
Access address used on the connection.
uint8_t * pAdvData
Pointer to buffer containing ADV*_IND data.
uint16_t commandNo
The command ID number 0x1803.
int8_t lastRssi
The RSSI of the last received packet.
uint16_t nRxAdvNok
Number of ADV*_IND packets received with CRC error.
struct __RFC_STRUCT rfc_CMD_BLE_GENERIC_RX_s rfc_CMD_BLE_GENERIC_RX_t
uint16_t nTx
Number of packets transmitted.
uint16_t nRxAdvNok
Number of ADV*_IND packets received with CRC error.
rfc_bleAdvOutput_t * pOutput
Pointer to command specific output structure.
uint8_t crcInit0
CRC initialization value used on the connection – least significant byte.
uint16_t nRxScanRspNok
Number of SCAN_RSP packets received with CRC error.
struct __RFC_STRUCT rfc_bleRadioOp_s rfc_bleRadioOp_t
uint8_t * pNewData
Pointer to the buffer containing the new data.
rfc_bleTxTestPar_t * pParams
Pointer to command specific parameter structure.
int8_t lastRssi
The RSSI of the last received packet.
dataQueue_t * pRxQ
Pointer to receive queue.
uint8_t nTxCtrlAck
Number of LL control packets from the Tx queue that have been finished (ACK'ed)
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
rfc_bleTxTestOutput_t * pOutput
Pointer to command specific output structure.
uint8_t * pScanRspData
Pointer to buffer containing SCAN_RSP data.
Type definition for a data queue.
uint8_t byteVal
If config.bOverride is 1, value of each byte to be sent.
uint32_t addressHi
Most significant 32 bits of the address contained in the entry.
uint8_t crcInit1
CRC initialization value used on the connection – middle byte.
struct __RFC_STRUCT rfc_bleTxTestOutput_s rfc_bleTxTestOutput_t
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
ratmr_t timeStamp
Time stamp of the received ADV*_IND packet that caused transmission of CONNECT_REQ.
uint8_t crcInit1
CRC initialization value used on the connection – middle byte.
uint8_t crcInit0
CRC initialization value used on the connection – least significant byte.
uint8_t nRxBufFull
Number of packets received that did not fit in Rx queue.
rfc_bleMasterSlaveOutput_t * pOutput
Pointer to command specific output structure.
uint8_t * pOutput
Pointer to command specific output structure.
uint8_t crcInit2
CRC initialization value used on the connection – most significant byte.
uint16_t commandNo
The command ID number 0x1804.
dataQueue_t * pTxQ
Pointer to transmit queue.
struct __RFC_STRUCT rfc_bleInitiatorPar_s rfc_bleInitiatorPar_t
uint16_t nRxIgnored
Number of packets received with CRC OK, but ignored.
struct __RFC_STRUCT rfc_bleInitiatorOutput_s rfc_bleInitiatorOutput_t
uint8_t maxPkt
Maximum number of packets transmitted in the operation before it ends. 0: No limit.
struct __RFC_STRUCT rfc_CMD_BLE_ADV_SCAN_s rfc_CMD_BLE_ADV_SCAN_t
struct __RFC_STRUCT rfc_CMD_BLE_SLAVE_s rfc_CMD_BLE_SLAVE_t
uint8_t crcInit1
CRC initialization value used on the connection – middle byte.
uint8_t nRxBufFull
Number of packets that have been received and discarded due to lack of buffer space.
rfc_bleGenericRxOutput_t * pOutput
Pointer to command specific output structure.
struct __RFC_STRUCT rfc_bleMasterPar_s rfc_bleMasterPar_t
struct __RFC_STRUCT rfc_CMD_BLE_ADV_s rfc_CMD_BLE_ADV_t
uint8_t maxNack
Maximum number of NACKs received before operation ends. 0: No limit.
uint8_t nRxAdvBufFull
Number of ADV*_IND packets received that did not fit in Rx queue.
rfc_bleAdvPar_t * pParams
Pointer to the parameter structure to update.
ratmr_t startTime
Absolute or relative start time (depending on the value of startTrigger)
uint8_t crcInit1
CRC initialization value used on the connection – middle byte.
uint16_t backoffCount
Parameter backoffCount used in backoff procedure, cf. Bluetooth 4.0 spec.
rfc_bleAdvPar_t * pParams
Pointer to command specific parameter structure.
uint16_t commandNo
The command ID number 0x1801.
uint16_t nRxNok
Number of packets received with CRC error.
rfc_bleScannerOutput_t * pOutput
Pointer to command specific output structure.
uint8_t nTxConnectReq
Number of transmitted CONNECT_REQ packets.