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

◆ bt_fast_pair_fmdn_read_mode_cb_register()

int bt_fast_pair_fmdn_read_mode_cb_register ( const struct bt_fast_pair_fmdn_read_mode_cb cb)

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

Register the read mode callbacks in the FMDN module.

This function registers the read mode callbacks.

You can call this function only in the disabled state of the FMDN module (see bt_fast_pair_is_ready function).

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