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

◆ bt_fast_pair_fmdn_id_set()

int bt_fast_pair_fmdn_id_set ( uint8_t  id)

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

Set the Bluetooth identity for the FMDN extension.

This function sets the Bluetooth identity for the FMDN extension. This identity shall be created with the bt_id_create function that is available in the Bluetooth API. You can change the identity with this API only in the disabled state of the Fast Pair module before you enable it with the bt_fast_pair_enable API. If you do not explicitly set the identity with this API call, the default identity, BT_ID_DEFAULT, is used.

Parameters
idBluetooth identity for the FMDN extension.
Returns
0 if the operation was successful. Otherwise, a (negative) error code is returned.