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

◆ bt_fast_pair_fmdn_info_cb_register()

int bt_fast_pair_fmdn_info_cb_register ( struct bt_fast_pair_fmdn_info_cb cb)

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

Register the information callbacks in the FMDN module.

This function registers the information callbacks. You can call this function only in the disabled state of the FMDN module (see bt_fast_pair_is_ready function). This API for callback registration is optional and does not have to be used. You can register multiple instances of information callbacks.

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