zephyr::raw

Function bt_le_adv_update_data

source
pub unsafe extern "C" fn bt_le_adv_update_data(
    ad: *const bt_data,
    ad_len: usize,
    sd: *const bt_data,
    sd_len: usize,
) -> i32
Expand description

@brief Update advertising

Update advertisement and scan response data.

@param ad Data to be used in advertisement packets. @param ad_len Number of elements in ad @param sd Data to be used in scan response packets. @param sd_len Number of elements in sd

@return Zero on success or (negative) error code otherwise.