nRF Connect SDK API 0.1.0
|
#include <zephyr/sys/slist.h>
#include <zephyr/sys/util.h>
Go to the source code of this file.
Data Structures | |
struct | bt_fast_pair_fmdn_ring_req_param |
struct | bt_fast_pair_fmdn_ring_cb |
struct | bt_fast_pair_fmdn_ring_state_param |
struct | bt_fast_pair_fmdn_motion_detector_cb |
Motion detector callback structure. More... | |
struct | bt_fast_pair_fmdn_adv_param |
struct | bt_fast_pair_fmdn_info_cb |
struct | bt_fast_pair_fmdn_read_mode_cb |
Macros | |
#define | BT_FAST_PAIR_FMDN_RING_COMP_BM_NONE (0x00) |
#define | BT_FAST_PAIR_FMDN_RING_COMP_BM_ALL (0xFF) |
#define | BT_FAST_PAIR_FMDN_RING_MSEC_PER_DSEC (100U) |
#define | BT_FAST_PAIR_FMDN_RING_TIMEOUT_DS_TO_MS(_timeout_ds) ((_timeout_ds) * BT_FAST_PAIR_FMDN_RING_MSEC_PER_DSEC) |
Convert the ringing timeout value from deciseconds to milliseconds. | |
#define | BT_FAST_PAIR_FMDN_RING_TIMEOUT_MS_TO_DS(_timeout_ms) ((_timeout_ms) / BT_FAST_PAIR_FMDN_RING_MSEC_PER_DSEC) |
Convert the ringing timeout value from milliseconds to deciseconds. | |
#define | BT_FAST_PAIR_FMDN_BATTERY_LEVEL_NONE (0xFF) |
#define | BT_FAST_PAIR_FMDN_ADV_PARAM_INIT(_int_min, _int_max) |
#define | BT_FAST_PAIR_FMDN_ADV_PARAM_DEFAULT |
Functions | |
int | bt_fast_pair_fmdn_ring_cb_register (const struct bt_fast_pair_fmdn_ring_cb *cb) |
Register the ringing callbacks in the FMDN module. | |
int | bt_fast_pair_fmdn_ring_state_update (enum bt_fast_pair_fmdn_ring_src src, const struct bt_fast_pair_fmdn_ring_state_param *param) |
Update the ringing state in the FMDN module. | |
int | bt_fast_pair_fmdn_motion_detector_cb_register (const struct bt_fast_pair_fmdn_motion_detector_cb *cb) |
Register motion detector callbacks. | |
int | bt_fast_pair_fmdn_battery_level_set (uint8_t percentage_level) |
Set the current battery level. | |
int | bt_fast_pair_fmdn_adv_param_set (const struct bt_fast_pair_fmdn_adv_param *adv_param) |
Set the FMDN advertising parameters. | |
int | bt_fast_pair_fmdn_id_set (uint8_t id) |
Set the Bluetooth identity for the FMDN extension. | |
int | bt_fast_pair_fmdn_info_cb_register (struct bt_fast_pair_fmdn_info_cb *cb) |
Register the information callbacks in the FMDN module. | |
int | bt_fast_pair_fmdn_read_mode_cb_register (const struct bt_fast_pair_fmdn_read_mode_cb *cb) |
Register the read mode callbacks in the FMDN module. | |
int | bt_fast_pair_fmdn_read_mode_enter (enum bt_fast_pair_fmdn_read_mode mode) |
Enter read mode. | |