PebbleOS
Loading...
Searching...
No Matches
Data Structures | Functions
bonding_sync.h File Reference
#include <pbl/kernel/compiler.h>
#include <pbl/bluetooth/sm_types.h>

Data Structures

struct  pbl_bt_bonding
 A bonding with a remote device. More...
 
struct  pbl_bt_cccd
 Stored Client Characteristic Configuration Descriptor state of a peer. More...
 

Functions

void pbl_bt_handle_host_added_bonding (const struct pbl_bt_bonding *bonding)
 Register an existing bonding with the stack.
 
void pbl_bt_handle_host_removed_bonding (const struct pbl_bt_bonding *bonding)
 Unregister a bonding, for example after the user forgot it in Settings.
 
void pbl_bt_handle_host_added_cccd (const struct pbl_bt_cccd *cccd)
 Register a stored CCCD state with the stack.
 
void pbl_bt_handle_host_removed_cccd (const struct pbl_bt_cccd *cccd)
 Unregister a stored CCCD state.
 
void pbl_bt_cb_handle_create_bonding (const struct pbl_bt_bonding *bonding, const struct pbl_bt_addr *addr)
 Called after a new device was paired, to persist the bonding.