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

◆ bt_fast_pair_fhn_read_mode_cb_register()

int bt_fast_pair_fhn_read_mode_cb_register ( const struct bt_fast_pair_fhn_read_mode_cb * cb)

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

Register the read mode callbacks in the FHN module.

This function registers the read mode callbacks.

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

This function must be called in the cooperative thread context or in the system initialization context (SYS_INIT macro).

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