ble_eddystone_set_adv_data_uid
int
ble_eddystone_set_adv_data_uid(
struct ble_hs_adv_fields *adv_fields,
void *uid
)
Description
Configures the device to advertise eddystone UID beacons.
Parameters
Parameter | Description |
---|
adv_fields | The base advertisement fields to transform into an eddystone beacon. All configured fields are preserved; you probably want to clear this struct before calling this function. |
uid | The 16-byte UID to advertise. |
Returned values
Value | Condition |
---|
0 | Success. |
BLE_HS_EBUSY | Advertising is in progress. |
BLE_HS_EMSGSIZE | The specified data is too large to fit in an advertisement. |
Core return code | Unexpected error. |