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

Data Structures

struct  pbl_bt_config
 Stack configuration passed to pbl_bt_start(). More...
 

Functions

void pbl_bt_init (void)
 One-time initialization of the Bluetooth stack.
 
bool pbl_bt_start (struct pbl_bt_config *config)
 Start the Bluetooth stack.
 
void pbl_bt_stop (void)
 Stop the Bluetooth stack.
 
void pbl_bt_power_down_controller_on_boot (void)
 Power down the controller at boot if Bluetooth is not going to be started.
 
void pbl_bt_handle_host_resynced (void)
 Called each time the host (re-)synchronizes with the controller.