7#ifndef BT_FAST_PAIR_ADV_MANAGER_H_
8#define BT_FAST_PAIR_ADV_MANAGER_H_
12#include <zephyr/sys/slist.h>
83#define BT_FAST_PAIR_ADV_MANAGER_TRIGGER_REGISTER(_name, _id, _config) \
84 BUILD_ASSERT(_id != NULL); \
85 static STRUCT_SECTION_ITERABLE(bt_fast_pair_adv_manager_trigger, _name) = { \
uint8_t bt_fast_pair_adv_manager_id_get(void)
Get the Bluetooth identity used for the Fast Pair advertising.
int bt_fast_pair_adv_manager_info_cb_register(struct bt_fast_pair_adv_manager_info_cb *cb)
Register information callbacks for the Fast Pair Advertising Manager.
void bt_fast_pair_adv_manager_payload_refresh(void)
Refresh the Fast Pair advertising payload.
bool bt_fast_pair_adv_manager_is_ready(void)
Check if the Fast Pair Advertising Manager module is ready.
bool bt_fast_pair_adv_manager_is_adv_active(void)
Check if the Fast Pair advertising set is active.
int bt_fast_pair_adv_manager_disable(void)
Disable the Fast Pair Advertising Manager module.
int bt_fast_pair_adv_manager_enable(void)
Enable the Fast Pair Advertising Manager module.
bool bt_fast_pair_adv_manager_is_pairing_mode(void)
Check if the Fast Pair Advertising Manager is in the pairing mode.
void bt_fast_pair_adv_manager_request(struct bt_fast_pair_adv_manager_trigger *trigger, bool enable)
Request turning on the Fast Pair advertising.
int bt_fast_pair_adv_manager_id_set(uint8_t id)
Set the Bluetooth identity for the Fast Pair advertising.
void(* adv_state_changed)(bool active)
Definition adv_manager.h:163
sys_snode_t node
Definition adv_manager.h:166
Definition adv_manager.h:150
bool suspend_rpa
Definition adv_manager.h:49
bool pairing_mode
Definition adv_manager.h:38
Definition adv_manager.h:30
const char * id
Definition adv_manager.h:71
const struct bt_fast_pair_adv_manager_trigger_config *const config
Definition adv_manager.h:74
Definition adv_manager.h:69