nRF Connect SDK API 2.8.99
|
int bt_fast_pair_fmdn_ring_cb_register | ( | const struct bt_fast_pair_fmdn_ring_cb * | cb | ) |
#include <include/bluetooth/services/fast_pair/fmdn.h>
Register the ringing callbacks in the FMDN module.
This function registers the ringing callbacks. If you declare at least one ringing component using the
CONFIG_BT_FAST_PAIR_FMDN_RING_COMP
Kconfig choice option, you shall call this API before you enable Fast Pair with the bt_fast_pair_enable function. Otherwise, the enable operation fails.
You can call this function only in the disabled state of the FMDN module (see bt_fast_pair_is_ready function).
cb | Ringing callback structure. |