![]() |
nRF Connect SDK API 3.3.99
|
| int bt_fast_pair_adv_manager_disable | ( | void | ) |
#include <include/bluetooth/fast_pair/adv_manager.h>
Disable the Fast Pair Advertising Manager module.
This function disables the Fast Pair Advertising Manager module. If the Fast Pair advertising is active, the module stops the advertising activity in the context of this function. If there is any pending Fast Pair connection, the module attempts to terminate this connection in the context of this function. Provided that the advertising is active before this API call and the bt_fast_pair_adv_manager_info_cb::adv_state_changed callback is registered, the callback will be triggered in the context of this function to indicate that the Fast Pair advertising set is inactive.
This API should be called before the Fast Pair subsystem gets disable (see the bt_fast_pair_disable function).