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

◆ bt_fast_pair_adv_data_size()

size_t bt_fast_pair_adv_data_size ( struct bt_fast_pair_adv_config  fp_adv_config)

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

Get Fast Pair advertising data buffer size.

This function can only be called if Fast Pair was previously enabled with the bt_fast_pair_enable API.

This function must be called in the cooperative thread context.

Parameters
[in]fp_adv_configFast Pair advertising config.
Returns
Fast Pair advertising data buffer size in bytes if the operation was successful. Otherwise zero is returned.