![]() |
nRF Connect SDK API 3.3.99
|
| bool bt_fast_pair_adv_manager_is_pairing_mode | ( | void | ) |
#include <include/bluetooth/fast_pair/adv_manager.h>
Check if the Fast Pair Advertising Manager is in the pairing mode.
This function can be used to synchronously check if the Fast Pair Advertising Manager is in the pairing mode. In the pairing mode, the Fast Pair advertising set uses the discoverable advertising payload. Otherwise, the not discoverable payload is used.
The pairing mode is active if at least one Fast Pair Advertising Manager trigger is enabled with the bt_fast_pair_adv_manager_request function and is configured for the pairing mode. The bt_fast_pair_adv_manager_trigger_config::pairing_mode flag is used to configure the pairing mode for the trigger.
| true | If the Fast Pair Advertising Manager is configured for the pairing mode. |
| false | Otherwise. |