pub unsafe extern "C" fn bt_le_ext_adv_update_param(
adv: *mut bt_le_ext_adv,
param: *const bt_le_adv_param,
) -> i32
Expand description
@brief Update advertising parameters.
Update the advertising parameters. The function will return an error if the advertiser set is currently advertising. Stop the advertising set before calling this function.
@note When changing the option @ref BT_LE_ADV_OPT_USE_NAME then @ref bt_le_ext_adv_set_data needs to be called in order to update the advertising data and scan response data.
@param adv Advertising set object. @param param Advertising parameters.
@return Zero on success or (negative) error code otherwise.