|
PebbleOS
|
Cycling of the local resolvable private address, and the pinned address. More...
Functions | |
| void | bt_local_addr_pause_cycling (void) |
| Pause address cycling and use the pinned address (reference counted). | |
| void | bt_local_addr_resume_cycling (void) |
| Release a bt_local_addr_pause_cycling() reference; cycling resumes at zero. | |
| void | bt_local_addr_pin (const struct pbl_bt_addr *addr) |
| Report the local address used when a pairing requested pinning. | |
| void | bt_local_addr_handle_bonding_change (pbl_bt_bonding_id_t bonding, BtPersistBondingOp op) |
| Handle a bonding change. | |
| void | bt_local_addr_init (void) |
| Initialize when the stack starts, generating the pinned address if needed. | |
Cycling of the local resolvable private address, and the pinned address.
A single persistent pinned address is generated once. While cycling is paused (by pairability or by bondings that require address pinning) the pinned address is used on air.
| void bt_local_addr_handle_bonding_change | ( | pbl_bt_bonding_id_t | bonding, |
| BtPersistBondingOp | op | ||
| ) |
Handle a bonding change.
Pauses or resumes cycling depending on whether any bonding requires address pinning.
| bonding | Affected bonding. |
| op | Change made. |
| void bt_local_addr_init | ( | void | ) |
Initialize when the stack starts, generating the pinned address if needed.
| void bt_local_addr_pause_cycling | ( | void | ) |
Pause address cycling and use the pinned address (reference counted).
| void bt_local_addr_pin | ( | const struct pbl_bt_addr * | addr | ) |
Report the local address used when a pairing requested pinning.
Called by the Bluetooth driver; only checked against the pinned address and logged.
| addr | Local address used during pairing. |
| void bt_local_addr_resume_cycling | ( | void | ) |
Release a bt_local_addr_pause_cycling() reference; cycling resumes at zero.