zephyr::raw

Function bt_le_per_adv_set_param

source
pub unsafe extern "C" fn bt_le_per_adv_set_param(
    adv: *mut bt_le_ext_adv,
    param: *const bt_le_per_adv_param,
) -> i32
Expand description

@brief Set or update the periodic advertising parameters.

The periodic advertising parameters can only be set or updated on an extended advertisement set which is neither scannable, connectable nor anonymous.

@param adv Advertising set object. @param param Advertising parameters.

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