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

◆ bt_fast_pair_adv_manager_info_cb_register()

int bt_fast_pair_adv_manager_info_cb_register ( struct bt_fast_pair_adv_manager_info_cb * cb)

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

Register information callbacks for the Fast Pair Advertising Manager.

This function registers an instance of information callbacks. The registered instance needs to persist in the memory after this function exits, as it is used directly without the copy operation.

This function can only be called before enabling the Fast Pair Advertising Manager module with the bt_fast_pair_adv_manager_enable API.

Parameters
cbCallback struct.
Returns
Zero on success or negative error code otherwise