nRF Connect SDK API 0.1.0
|
#include <zephyr/bluetooth/bluetooth.h>
Go to the source code of this file.
Data Structures | |
struct | bt_fast_pair_disc_adv_info |
Fast Pair discoverable advertising info. Currently empty. More... | |
struct | bt_fast_pair_not_disc_adv_info |
Fast Pair not discoverable advertising info. More... | |
struct | bt_fast_pair_adv_config |
Fast Pair advertising config. Used to generate advertising packet. More... | |
struct | bt_fast_pair_battery |
Fast Pair battery component descriptor. More... | |
struct | bt_fast_pair_info_cb |
Macros | |
#define | BT_FAST_PAIR_BATTERY_LEVEL_UNKNOWN 0x7f |
Enumerations | |
enum | bt_fast_pair_adv_mode { BT_FAST_PAIR_ADV_MODE_DISC , BT_FAST_PAIR_ADV_MODE_NOT_DISC , BT_FAST_PAIR_ADV_MODE_COUNT } |
Fast Pair advertising mode. Used to generate advertising packet. More... | |
enum | bt_fast_pair_not_disc_adv_type { BT_FAST_PAIR_NOT_DISC_ADV_TYPE_SHOW_UI_IND , BT_FAST_PAIR_NOT_DISC_ADV_TYPE_HIDE_UI_IND , BT_FAST_PAIR_NOT_DISC_ADV_TYPE_COUNT } |
Fast Pair not discoverable advertising type. Used to generate advertising packet. More... | |
enum | bt_fast_pair_adv_battery_mode { BT_FAST_PAIR_ADV_BATTERY_MODE_NONE , BT_FAST_PAIR_ADV_BATTERY_MODE_SHOW_UI_IND , BT_FAST_PAIR_ADV_BATTERY_MODE_HIDE_UI_IND , BT_FAST_PAIR_ADV_BATTERY_MODE_COUNT } |
Fast Pair advertising battery mode. Used to generate advertising packet. More... | |
enum | bt_fast_pair_battery_comp { BT_FAST_PAIR_BATTERY_COMP_LEFT_BUD = 0 , BT_FAST_PAIR_BATTERY_COMP_RIGHT_BUD = 1 , BT_FAST_PAIR_BATTERY_COMP_BUD_CASE = 2 , BT_FAST_PAIR_BATTERY_COMP_COUNT } |
Index of Fast Pair battery component. More... | |
Functions | |
int | bt_fast_pair_enable (void) |
int | bt_fast_pair_disable (void) |
bool | bt_fast_pair_is_ready (void) |
Check if Fast Pair is ready. | |
size_t | bt_fast_pair_adv_data_size (struct bt_fast_pair_adv_config fp_adv_config) |
int | bt_fast_pair_adv_data_fill (struct bt_data *adv_data, uint8_t *buf, size_t buf_size, struct bt_fast_pair_adv_config fp_adv_config) |
void | bt_fast_pair_set_pairing_mode (bool pairing_mode) |
bool | bt_fast_pair_has_account_key (void) |
int | bt_fast_pair_battery_set (enum bt_fast_pair_battery_comp battery_comp, struct bt_fast_pair_battery battery) |
int | bt_fast_pair_info_cb_register (const struct bt_fast_pair_info_cb *cb) |
int | bt_fast_pair_factory_reset (void) |