|
PebbleOS
|
#include <stdbool.h>Enumerations | |
| enum | BtCtlModeOverride { BtCtlModeOverrideNone , BtCtlModeOverrideStop , BtCtlModeOverrideRun } |
| Override of the airplane mode setting. More... | |
Functions | |
| void | bt_ctl_init (void) |
| Initialize Bluetooth control, loading the persisted airplane mode setting. | |
| bool | bt_ctl_is_airplane_mode_on (void) |
| Get the airplane mode setting. | |
| bool | bt_ctl_is_bluetooth_active (void) |
| Check whether the stack is supposed to be running. | |
| bool | bt_ctl_is_bluetooth_running (void) |
| Check whether the stack is up and running. | |
| void | bt_ctl_set_airplane_mode_async (bool enabled) |
| Set and persist airplane mode. | |
| void | bt_ctl_set_enabled (bool enabled) |
| Enable or disable Bluetooth, as requested by the runlevel system. | |
| void | bt_ctl_set_override_mode (BtCtlModeOverride override) |
| Set the airplane mode override. | |
| void | bt_ctl_reset_bluetooth (void) |
| Restart the stack from KernelBG. | |