7#ifndef BT_SERVICES_FAST_PAIR_FMDN_H_
8#define BT_SERVICES_FAST_PAIR_FMDN_H_
18#warning "This header is deprecated. Use <bluetooth/fast_pair/fhn/fhn.h> instead."
30#define bt_fast_pair_fmdn_ring_src bt_fast_pair_fhn_ring_src
31#define bt_fast_pair_fmdn_ring_comp bt_fast_pair_fhn_ring_comp
32#define bt_fast_pair_fmdn_ring_volume bt_fast_pair_fhn_ring_volume
33#define bt_fast_pair_fmdn_ring_req_param bt_fast_pair_fhn_ring_req_param
34#define bt_fast_pair_fmdn_ring_cb bt_fast_pair_fhn_ring_cb
35#define bt_fast_pair_fmdn_ring_trigger bt_fast_pair_fhn_ring_trigger
36#define bt_fast_pair_fmdn_ring_state_param bt_fast_pair_fhn_ring_state_param
37#define bt_fast_pair_fmdn_motion_detector_cb bt_fast_pair_fhn_motion_detector_cb
38#define bt_fast_pair_fmdn_adv_param bt_fast_pair_fhn_adv_param
39#define bt_fast_pair_fmdn_info_cb bt_fast_pair_fhn_info_cb
40#define bt_fast_pair_fmdn_read_mode bt_fast_pair_fhn_read_mode
41#define bt_fast_pair_fmdn_read_mode_cb bt_fast_pair_fhn_read_mode_cb
44#define BT_FAST_PAIR_FMDN_RING_SRC_FMDN_BT_GATT BT_FAST_PAIR_FHN_RING_SRC_FHN_BT_GATT
45#define BT_FAST_PAIR_FMDN_RING_SRC_DULT_BT_GATT BT_FAST_PAIR_FHN_RING_SRC_DULT_BT_GATT
46#define BT_FAST_PAIR_FMDN_RING_SRC_DULT_MOTION_DETECTOR \
47 BT_FAST_PAIR_FHN_RING_SRC_DULT_MOTION_DETECTOR
49#define BT_FAST_PAIR_FMDN_RING_COMP_RIGHT BT_FAST_PAIR_FHN_RING_COMP_RIGHT
50#define BT_FAST_PAIR_FMDN_RING_COMP_LEFT BT_FAST_PAIR_FHN_RING_COMP_LEFT
51#define BT_FAST_PAIR_FMDN_RING_COMP_CASE BT_FAST_PAIR_FHN_RING_COMP_CASE
53#define BT_FAST_PAIR_FMDN_RING_COMP_BM_NONE BT_FAST_PAIR_FHN_RING_COMP_BM_NONE
54#define BT_FAST_PAIR_FMDN_RING_COMP_BM_ALL BT_FAST_PAIR_FHN_RING_COMP_BM_ALL
56#define BT_FAST_PAIR_FMDN_RING_VOLUME_DEFAULT BT_FAST_PAIR_FHN_RING_VOLUME_DEFAULT
57#define BT_FAST_PAIR_FMDN_RING_VOLUME_LOW BT_FAST_PAIR_FHN_RING_VOLUME_LOW
58#define BT_FAST_PAIR_FMDN_RING_VOLUME_MEDIUM BT_FAST_PAIR_FHN_RING_VOLUME_MEDIUM
59#define BT_FAST_PAIR_FMDN_RING_VOLUME_HIGH BT_FAST_PAIR_FHN_RING_VOLUME_HIGH
61#define BT_FAST_PAIR_FMDN_RING_MSEC_PER_DSEC BT_FAST_PAIR_FHN_RING_MSEC_PER_DSEC
62#define BT_FAST_PAIR_FMDN_RING_TIMEOUT_DS_TO_MS(_t) BT_FAST_PAIR_FHN_RING_TIMEOUT_DS_TO_MS(_t)
63#define BT_FAST_PAIR_FMDN_RING_TIMEOUT_MS_TO_DS(_t) BT_FAST_PAIR_FHN_RING_TIMEOUT_MS_TO_DS(_t)
65#define BT_FAST_PAIR_FMDN_RING_TRIGGER_STARTED BT_FAST_PAIR_FHN_RING_TRIGGER_STARTED
66#define BT_FAST_PAIR_FMDN_RING_TRIGGER_FAILED BT_FAST_PAIR_FHN_RING_TRIGGER_FAILED
67#define BT_FAST_PAIR_FMDN_RING_TRIGGER_TIMEOUT_STOPPED BT_FAST_PAIR_FHN_RING_TRIGGER_TIMEOUT_STOPPED
68#define BT_FAST_PAIR_FMDN_RING_TRIGGER_UI_STOPPED BT_FAST_PAIR_FHN_RING_TRIGGER_UI_STOPPED
69#define BT_FAST_PAIR_FMDN_RING_TRIGGER_GATT_STOPPED BT_FAST_PAIR_FHN_RING_TRIGGER_GATT_STOPPED
71#define BT_FAST_PAIR_FMDN_BATTERY_LEVEL_NONE BT_FAST_PAIR_FHN_BATTERY_LEVEL_NONE
73#define BT_FAST_PAIR_FMDN_ADV_PARAM_INIT BT_FAST_PAIR_FHN_ADV_PARAM_INIT
74#define BT_FAST_PAIR_FMDN_ADV_PARAM_DEFAULT BT_FAST_PAIR_FHN_ADV_PARAM_DEFAULT
76#define BT_FAST_PAIR_FMDN_READ_MODE_FMDN_RECOVERY BT_FAST_PAIR_FHN_READ_MODE_FHN_RECOVERY
77#define BT_FAST_PAIR_FMDN_READ_MODE_DULT_ID BT_FAST_PAIR_FHN_READ_MODE_DULT_ID
100 uint8_t percentage_level)
static int bt_fast_pair_fmdn_ring_cb_register(const struct bt_fast_pair_fhn_ring_cb *cb)
Definition fmdn.h:80
static int bt_fast_pair_fmdn_id_set(uint8_t id)
Definition fmdn.h:111
static int bt_fast_pair_fmdn_motion_detector_cb_register(const struct bt_fast_pair_fhn_motion_detector_cb *cb)
Definition fmdn.h:93
static int bt_fast_pair_fmdn_adv_param_set(const struct bt_fast_pair_fhn_adv_param *adv_param)
Definition fmdn.h:105
static int bt_fast_pair_fmdn_info_cb_register(struct bt_fast_pair_fhn_info_cb *cb)
Definition fmdn.h:121
static int bt_fast_pair_fmdn_ring_state_update(enum bt_fast_pair_fhn_ring_src src, const struct bt_fast_pair_fhn_ring_state_param *param)
Definition fmdn.h:86
static int bt_fast_pair_fmdn_read_mode_cb_register(const struct bt_fast_pair_fhn_read_mode_cb *cb)
Definition fmdn.h:127
static int bt_fast_pair_fmdn_battery_level_set(uint8_t percentage_level)
Definition fmdn.h:99
static int bt_fast_pair_fmdn_read_mode_enter(enum bt_fast_pair_fhn_read_mode mode)
Definition fmdn.h:133
static bool bt_fast_pair_fmdn_is_provisioned(void)
Definition fmdn.h:116
int bt_fast_pair_fhn_info_cb_register(struct bt_fast_pair_fhn_info_cb *cb)
Register the information callbacks in the FHN module.
int bt_fast_pair_fhn_read_mode_cb_register(const struct bt_fast_pair_fhn_read_mode_cb *cb)
Register the read mode callbacks in the FHN module.
bt_fast_pair_fhn_ring_src
Ringing activity source types.
Definition fhn.h:32
bool bt_fast_pair_fhn_is_provisioned(void)
Check the FHN provisioning state.
int bt_fast_pair_fhn_id_set(uint8_t id)
Set the Bluetooth identity for the FHN extension.
bt_fast_pair_fhn_read_mode
Definition fhn.h:594
int bt_fast_pair_fhn_motion_detector_cb_register(const struct bt_fast_pair_fhn_motion_detector_cb *cb)
Register motion detector callbacks.
int bt_fast_pair_fhn_ring_state_update(enum bt_fast_pair_fhn_ring_src src, const struct bt_fast_pair_fhn_ring_state_param *param)
Update the ringing state in the FHN module.
int bt_fast_pair_fhn_adv_param_set(const struct bt_fast_pair_fhn_adv_param *adv_param)
Set the FHN advertising parameters.
int bt_fast_pair_fhn_ring_cb_register(const struct bt_fast_pair_fhn_ring_cb *cb)
Register the ringing callbacks in the FHN module.
int bt_fast_pair_fhn_read_mode_enter(enum bt_fast_pair_fhn_read_mode mode)
Enter read mode.
int bt_fast_pair_fhn_battery_level_set(uint8_t percentage_level)
Set the current battery level.
Motion detector callback structure.
Definition fhn.h:316