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

◆ bt_fast_pair_adv_manager_enable()

int bt_fast_pair_adv_manager_enable ( void )

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

Enable the Fast Pair Advertising Manager module.

This function enables the Fast Pair Advertising Manager module. If any trigger is enabled with the bt_fast_pair_adv_manager_request function, the module activates the Fair Pair advertising in the context of this function. Provided that the module starts advertising 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 active.

This API must be called when the Fast Pair subsystem is ready (see the bt_fast_pair_is_ready function).

Returns
0 if the operation was successful. Otherwise, a (negative) error code is returned.