25 #ifndef BB_BLE_API_OP_H 26 #define BB_BLE_API_OP_H 45 #define BB_BLE_TO_US(n) ((n) * LL_BLE_US_PER_TICK) 48 #define BB_INC_STAT(s) s++ 75 #define BB_REQ_PDU_MAX_LEN (LL_ADV_HDR_LEN + LL_CONN_IND_PDU_LEN) 78 #define BB_MIN_SCAN_US (LL_ADV_PKT_MAX_USEC + LL_BLE_TIFS_US + \ 79 LL_SCAN_REQ_MAX_USEC + LL_BLE_TIFS_US + \ 80 LL_SCAN_RSP_MAX_USEC + \ 81 BbGetSchSetupDelayUs()) void BbBleTxData(PalBbBleTxBufDesc_t descs[], uint8_t cnt)
Transmit data PDU at next transmit slot.
void(* BbBleCisPostExec_t)(BbOpDesc_t *pBod, uint8_t status)
CIS post execute callback signature.
void BbBleCisTxData(PalBbBleTxBufDesc_t descs[], uint8_t cnt)
Transmit CIS PDU at next transmit slot.
bool_t(* BbBlePerPostComp_t)(BbOpDesc_t *pBod, const uint8_t *pBuf)
Periodic PDU Rx complete post call signature.
uint32_t(* BbBleCisCheckContOp_t)(BbOpDesc_t *pBod, bool_t *pNewCisCtx)
CIS check whether to continue current operation call signature.
BbBleCisCheckContOp_t checkContOpCback
void BbBleRxData(uint8_t *pBuf, uint16_t len)
Set receive data buffer for next receive slot.
Master periodic scanning event operation data (BB_BLE_OP_MST_PER_SCAN_EVENT).
BbBleExec_t contExecCback
void(* BbBleTxDataComp_t)(BbOpDesc_t *pBod, uint8_t status)
Data transmit completion callback signature.
struct BbBleData_tag BbBleData_t
Bluetooth Low Energy protocol specific operation parameters.
void(* BbBleAdvPost_t)(BbOpDesc_t *pBod, const uint8_t *pBuf)
Rx completion post processing call signature.
BbBleTxDataComp_t txDataCback
BbBleSlvBisEvent_t slvBis
void BbBleBisRxDataReAcq(uint32_t syncTime, PalBbBleChan_t *pChan)
Receive data re-acquisition.
BbBleSlvConnEvent_t slvConn
Connection event operation data (BB_BLE_OP_SLV_CONN_EVENT).
CIS master event operation data (BB_BLE_OP_MST_CIS_EVENT).
bbBlePduFiltResults_t filtResults
bool_t(* BbBleRxChainPost_t)(BbOpDesc_t *pBod, const uint8_t *pBuf)
Chain indication PDU received post call signature.
BbBleCancel_t cancelCback
BbBleRxChain_t rxAuxChainCback
BbBleCancel_t cancelCback
BbBleAdvPost_t rxAuxReqPostCback
BbBleCisPostExec_t postSubEvtCback
BbBleMstAdvEvent_t mstAdv
union BbBleData_tag::@188 op
void(* BbBleTxAdvSetup_t)(BbOpDesc_t *pBod, uint32_t advTxTime)
Advertising PDU transmit setup call signature.
BbBleAdvComp_t rxReqCback
BbBleTxDataComp_t txDataCback
BbBleSlvAuxAdvEvent_t slvAuxAdv
BbBleMstBisEvent_t mstBis
BbBleExec_t contExecCback
BbBleRxDataComp_t rxDataCback
BbBleTestComp_t testCback
BbBleRxDataComp_t rxDataCback
BbBleTestComp_t testCback
BbBleMstPerScanEvent_t mstPerScan
BbBleMstCisEvent_t mstCis
bbBlePduFiltParams_t pduFilt
PDU filtering parameters.
void BbBleCisRxData(uint8_t *pBuf, uint16_t len)
Set receive data buffer for next receive slot.
BbBlePerPostComp_t rxPerAdvPostCback
BbBleMstConnEvent_t mstConn
void(* BbBleCancel_t)(BbOpDesc_t *pBod)
Cancel callback signature.
Slave advertising event operation data (BB_BLE_OP_SLV_ADV_EVENT).
BbBleTxAuxSetup_t txAuxSetupCback
BbBleSlvAdvEvent_t slvAdv
uint32_t(* BbBleRxChain_t)(BbOpDesc_t *pBod, const uint8_t *pBuf)
Chain indication PDU received call signature.
Bluetooth Low Energy protocol specific operation parameters.
bool_t(* BbBleAdvComp_t)(BbOpDesc_t *pBod, const uint8_t *pBuf)
Returns TRUE if an scan request/response required.
bbBlePduFiltResults_t filtResults
BbBleOp_t
Operation types.
Continuous receive operation data (BB_BLE_OP_TEST_RX).
BbBleAdvPost_t rxReqPostCback
void(* BbBleExec_t)(BbOpDesc_t *pBod)
Execute callback signature.
BbBleAdvComp_t rxAuxAdvCback
BbBleSlvAuxAdvEvent_t slvPerAdv
BbBleCancel_t cancelCback
bbBlePduFiltResults_t filtResults
BbBlePerComp_t rxPerAdvCback
uint32_t(* BbBlePerComp_t)(BbOpDesc_t *pBod, const uint8_t *pBuf, uint8_t status)
Periodic PDU Rx complete call signature.
BIS slave event operation data (BB_BLE_OP_SLV_BIS_EVENT).
BbBleTxAdvSetup_t txAdvSetupCback
void(* BbBleCisRxDataComp_t)(BbOpDesc_t *pBod, uint8_t *pBuf, uint8_t status)
CIS data receive completion callback signature.
BbBleSlvCisEvent_t slvCis
bool_t(* BbBleTestComp_t)(BbOpDesc_t *pBod, uint8_t status)
Test completion callback signature.
void(* BbBleRxDataComp_t)(BbOpDesc_t *pBod, uint8_t *pBuf, uint8_t status)
Data receive completion callback signature.
Connection event operation data (BB_BLE_OP_MST_CONN_EVENT).
uint32_t auxReqStartTsUsec
BLE channelization parameters.
BbBleTxDataComp_t txDataCback
Continuous transmit operation data (BB_BLE_OP_TEST_TX).
BbBleRxChainPost_t rxAuxChainPostCback
Link layer constant definitions.
BbBleAdvComp_t rxAuxRspCback
bbBlePduFiltResults_t filtResults
BbBleAdvComp_t rxAdvCback
BbBleAdvPost_t rxAdvPostCback
uint32_t(* BbBleTxAuxSetup_t)(BbOpDesc_t *pBod, bool_t isChainInd)
Chain indication PDU transmit setup call signature.
CIS slave event operation data (BB_BLE_OP_SLV_CIS_EVENT).
Slave auxiliary advertising event operation data (BB_BLE_OP_SLV_AUX_ADV_EVENT).
Master auxiliary advertising event operation data (BB_BLE_OP_MST_AUX_ADV_EVENT).
void(* BbBlePreExec_t)(BbOpDesc_t *pBod)
Pre-execute callback signature.
BbBleMstAuxAdvEvent_t mstAuxAdv
BbBleTxDataComp_t txDataCback
Master advertising event operation data (BB_BLE_OP_MST_ADV_EVENT).
Baseband operation descriptor (BOD).
BbBleAdvComp_t txReqCback
BbBleRxDataComp_t rxDataCback
BbBleCisCheckContOp_t checkContOpCback
BbBleAdvComp_t rxAuxReqCback
BbBlePreExec_t preExecCback
void BbBleBisRxData(uint8_t *pBuf, uint16_t len, uint32_t nextPduTime, PalBbBleChan_t *pNextChan, bool_t reAcq)
Set receive BIS Data PDU buffer for next receive slot.
BbBleTxDataComp_t txDataCback
Transmit buffer descriptor.
BLE Baseband interface file.
BbBleAdvComp_t rxRspCback
BbBleRxDataComp_t rxDataCback
BbBleCisRxDataComp_t rxDataCback
void BbBleBisTxData(PalBbBleTxBufDesc_t descs[], uint8_t cnt, uint32_t nextPduTime, PalBbBleChan_t *pNextChan)
Transmit BIS Data PDU at next transmit slot.
BbBleCancel_t cancelCback
BIS master event operation data (BB_BLE_OP_MST_BIS_EVENT).
BLE baseband PDU filtering interface file.
BbBleCisPostExec_t postSubEvtCback