Hi,
I am getting an error when trying to enable the Fast Pair (SDK 2.7.0) using the bt_fast_pair_enable() function.
I debugged this error and I saw that it's caused when evaluating the following if condition:
if (!(user->accessory_capabilities & BIT(DULT_ACCESSORY_CAPABILITY_PLAY_SOUND_BIT_POS)))
This means that if the sound capability is not set inside the user->accessory_capabilities, -EINVAL is returned as an error. I have the
CONFIG_BT_FAST_PAIR_FMDN_RING_COMP_NONE enabled, so technically this fails as expected, but I don't understand why the dult_user_register() function is implemented like this. From my point of view, enabling the fast pair shouldn't fail for this reason, as my device cannot emit sounds and therefore, it should have CONFIG_BT_FAST_PAIR_FMDN_RING_COMP_NONE=y in the prj.conf.
Can someone please explain me why?
Thank you.
Best regards,
Francisco.
I: Settings loaded I: Fast Pair: RPA expired W: Fast Pair: cannot get random RPA timeout (rc: 0). Used fixed value I: Fast Pair: setting RPA timeout to 780 [s] I: Fast Pair: prepared the advertising set E: FMDN: dult_user_register returned error: -22 E: FMDN: dult_reset returned error: -13 E: modules_init returned error -22 E: FMDN: bt_fast_pair_enable failed, rc = -22 E: Failed - to init fast pair, err=-22