25 #ifndef BB_BLE_API_RESLIST_H 26 #define BB_BLE_API_RESLIST_H 111 bool_t
BbBleResListAdd(uint8_t peerAddrType, uint64_t peerIdentityAddr,
const uint8_t *pPeerIrk,
112 const uint8_t *pLocalIrk);
uint8_t BbBleResListPeerStatus(bool_t peerAddrRand, uint64_t peerIdentityAddr)
Get status of peer address in resolving list.
bool_t BbBleResListSetPrivacyMode(uint8_t peerAddrType, uint64_t peerIdentityAddr, uint8_t privMode)
Set privacy mode of a device.
uint8_t BbBleResListLocalStatus(bool_t peerAddrRand, uint64_t peerIdentityAddr)
Get status of local address in resolving list.
bool_t bbBleIsPeerInResList(uint8_t peerAddrType, uint64_t peerIdentityAddr)
Check if peer identity is in the resolving list.
bool_t BbBleResListGetPrivacyMode(uint8_t peerAddrType, uint64_t peerIdentityAddr, uint8_t *pPrivMode)
Get privacy mode of a device.
bool_t BbBleResListIsLocalResolved(uint64_t rpa, uint8_t peerAddrType, uint64_t peerIdentityAddr)
Check whether a local address has been resolved.
bool_t BbBleResListReadLocal(uint8_t peerAddrType, uint64_t peerIdentityAddr, uint64_t *pRpa)
Read local resolvable address.
bool_t BbBleResListResolvePeer(uint64_t rpa, uint8_t *pPeerAddrType, uint64_t *pPeerIdentityAddr)
Resolve peer resolvable address.
bool_t BbBleResListAdd(uint8_t peerAddrType, uint64_t peerIdentityAddr, const uint8_t *pPeerIrk, const uint8_t *pLocalIrk)
Add device to resolving list.
bool_t BbBleResListCheckResolveLocal(uint64_t rpa, uint8_t peerAddrType, uint64_t peerIdentityAddr)
Check whether a local address has been resolved.
bool_t BbBleResListUpdateLocal(uint8_t peerAddrType, uint64_t peerIdentityAddr, uint64_t *pRpa)
Update local resolvable address.
Platform-independent data types.
bool_t BbBleResListResolveLocal(uint64_t rpa, uint8_t *pPeerAddrType, uint64_t *pPeerIdentityAddr)
Resolve local resolvable address.
bool_t BbBleResListCheckResolvePeer(uint64_t rpa, uint8_t *pPeerAddrType, uint64_t *pPeerIdentityAddr)
Check whether a peer address has been resolved.
bool_t BbBleResListRemove(uint8_t peerAddrType, uint64_t peerIdentityAddr)
Remove device from resolving list.
void(* bbBleResListAddrResNeeded_t)(uint64_t rpa, bool_t peer, uint8_t peerAddrType, uint64_t peerIdentityAddr)
Address resolution needed callback signature.
bool_t BbBleResListGeneratePeer(uint8_t peerAddrType, uint64_t peerIdentityAddr, uint64_t *pRpa)
Generate peer resolvable address.
void BbBleResListClear(void)
Clear resolving list.
bool_t BbBleResListIsRpaUpd(uint8_t peerAddrType, uint64_t peerIdentityAddr)
Check if either local RPA or peer RPA is updated.
uint8_t BbBleResListGetSize(void)
Get resolving list size.
void BbBleResListHandleTimeout(void)
Handle timeout of local resolvable addresses.
bool_t BbBleResListReadPeer(uint8_t peerAddrType, uint64_t peerIdentityAddr, uint64_t *pRpa)
Read peer resolvable address.
void BbBleResListSetAddrResNeededCback(bbBleResListAddrResNeeded_t cback)
Set address resolution needed callback.