Data Structures | |
| struct | bbBlePerPduFiltParams_t |
| Periodic PDU filtering parameters. More... | |
| struct | bbBlePduFiltParams_t |
| PDU filtering parameters. More... | |
| struct | bbBlePduExtFiltParams_t |
| Extended PDU filtering parameters. More... | |
| struct | bbBlePduFiltResults_t |
| PDU filtering results. More... | |
Macros | |
| #define | BB_BLE_PDU_FILT_FLAG_IS_SET(pFilt, flag) (((pFilt)->flags & BB_BLE_PDU_FILT_FLAG_##flag) != 0) |
| Check whether a flag is set. More... | |
| #define | BB_BLE_PDU_FILT_SET_FLAG(pFilt, flag) (pFilt)->flags |= BB_BLE_PDU_FILT_FLAG_##flag; |
| Set a flag. More... | |
Enumerations |
Functions | |
| bool_t | BbBlePduFiltCheck (const uint8_t *pBuf, const bbBlePduFiltParams_t *pFiltParams, bool_t forceRes, bbBlePduFiltResults_t *pFiltResults) |
| Check if PDU is allowed, i.e., should not be ignored. More... | |
| bool_t | BbBleExtPduFiltCheck (const bbBlePduExtFiltParams_t *pExtFiltParams, const bbBlePduFiltParams_t *pFiltParams, bool_t forceRes, bbBlePduFiltResults_t *pFiltResults) |
| Check if PDU is allowed, i.e., should not be ignored. More... | |
| static void | BbBlePduFiltResultsGetPeerIdAddr (const bbBlePduFiltResults_t *pFiltResults, uint64_t *pPeerIdAddr, uint8_t *pPeerIdAddrType) |
| Get the peer ID address. More... | |
| static void | BbBlePduFiltResultsGetPeerRpa (const bbBlePduFiltResults_t *pFiltResults, uint64_t *pPeerRpa) |
| Get the peer RPA. More... | |
| #define BB_BLE_PDU_FILT_FLAG_IS_SET | ( | pFilt, | |
| flag | |||
| ) | (((pFilt)->flags & BB_BLE_PDU_FILT_FLAG_##flag) != 0) |
Check whether a flag is set.
Definition at line 42 of file bb_ble_api_pdufilt.h.
| #define BB_BLE_PDU_FILT_SET_FLAG | ( | pFilt, | |
| flag | |||
| ) | (pFilt)->flags |= BB_BLE_PDU_FILT_FLAG_##flag; |
Set a flag.
Definition at line 45 of file bb_ble_api_pdufilt.h.
| anonymous enum |
PDU filtering flags.
Definition at line 48 of file bb_ble_api_pdufilt.h.
| bool_t BbBleExtPduFiltCheck | ( | const bbBlePduExtFiltParams_t * | pExtFiltParams, |
| const bbBlePduFiltParams_t * | pFiltParams, | ||
| bool_t | forceRes, | ||
| bbBlePduFiltResults_t * | pFiltResults | ||
| ) |
Check if PDU is allowed, i.e., should not be ignored.
| pExtFiltParams | Extended filter parameters. |
| pFiltParams | Filter parameters. |
| forceRes | TRUE if address resolution should be forced. |
| pFiltResults | Storage for filter results. |
| bool_t BbBlePduFiltCheck | ( | const uint8_t * | pBuf, |
| const bbBlePduFiltParams_t * | pFiltParams, | ||
| bool_t | forceRes, | ||
| bbBlePduFiltResults_t * | pFiltResults | ||
| ) |
Check if PDU is allowed, i.e., should not be ignored.
| pBuf | PDU buffer. |
| pFiltParams | Filter parameters. |
| forceRes | TRUE if address resolution should be forced. |
| pFiltResults | Storage for filter results. |
|
static |
Get the peer ID address.
| pFiltResults | Filter results. |
| pPeerIdAddr | Storage for peer ID address. |
| pPeerIdAddrType | Storage for peer ID address type; |
Definition at line 149 of file bb_ble_api_pdufilt.h.
|
static |
Get the peer RPA.
| pFiltResults | Filter results. |
| pPeerRpa | Storage for peer RPA or 0. |
Definition at line 170 of file bb_ble_api_pdufilt.h.