Function esp_idf_sys::ble_eddystone_set_adv_data_uid
source ยท pub unsafe extern "C" fn ble_eddystone_set_adv_data_uid(
adv_fields: *mut ble_hs_adv_fields,
uid: *mut c_void,
measured_power: i8,
) -> c_int
Expand description
Configures the device to advertise Eddystone UID beacons.
@param 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. @param uid The 16-byte UID to advertise. @param measured_power The Measured Power (RSSI value at 0 Meter).
@return 0 on success; BLE_HS_EBUSY if advertising is in progress; BLE_HS_EMSGSIZE if the specified data is too large to fit in an advertisement; Other nonzero on failure.