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

ParameterDescription
adv_fieldsThe 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.
uidThe 16-byte UID to advertise.

Returned values

ValueCondition
0Success.
BLE_HS_EBUSYAdvertising is in progress.
BLE_HS_EMSGSIZEThe specified data is too large to fit in an advertisement.
Core return codeUnexpected error.