nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ bt_fast_pair_adv_battery_mode

#include <include/bluetooth/services/fast_pair/fast_pair.h>

Fast Pair advertising battery mode. Used to generate advertising packet.

Used only when the

CONFIG_BT_FAST_PAIR_BN 

Kconfig option is enabled.

Battery data can be included in advertising packet only if the Fast Pair Provider is in Fast Pair not discoverable advertising mode and is in possession of at least one Account Key. To prevent tracking, the Fast Pair Provider should not include battery data in the advertising packet all the time.

Enumerator
BT_FAST_PAIR_ADV_BATTERY_MODE_NONE 

Do not advertise battery data.

BT_FAST_PAIR_ADV_BATTERY_MODE_SHOW_UI_IND 

Show battery data UI indication.

BT_FAST_PAIR_ADV_BATTERY_MODE_HIDE_UI_IND 

Hide battery data UI indication.

BT_FAST_PAIR_ADV_BATTERY_MODE_COUNT 

Number of Fast Pair advertising battery modes.