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

◆ BT_LE_ADV_PROV_SD_PROVIDER_REGISTER

#define BT_LE_ADV_PROV_SD_PROVIDER_REGISTER ( pname,
get_data_fn )

#include <include/bluetooth/adv_prov.h>

Value:
STRUCT_SECTION_ITERABLE_ALTERNATE(bt_le_adv_prov_sd, bt_le_adv_prov_provider, pname) = { \
.get_data = get_data_fn, \
}
Definition adv_prov.h:86

Register scan response data provider.

The macro statically registers a scan response data provider. The provider appends data to scan response packet managed by the Bluetooth LE advertising providers subsystem.

Parameters
pnameProvider name.
get_data_fnFunction used to get provider's scan response data.