zephyr::raw

Function bt_le_per_adv_set_subevent_data

Source
pub unsafe extern "C" fn bt_le_per_adv_set_subevent_data(
    adv: *const bt_le_ext_adv,
    num_subevents: u8,
    params: *const bt_le_per_adv_subevent_data_params,
) -> i32
Expand description

@brief Set the periodic advertising with response subevent data.

Set the data for one or more subevents of a Periodic Advertising with Responses Advertiser in reply data request.

@pre There are @p num_subevents elements in @p params. @pre The controller has requested data for the subevents in @p params.

@param adv The extended advertiser the PAwR train belongs to. @param num_subevents The number of subevents to set data for. @param params Subevent parameters.

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