zephyr::raw

Function bt_le_per_adv_set_response_data

source
pub unsafe extern "C" fn bt_le_per_adv_set_response_data(
    per_adv_sync: *mut bt_le_per_adv_sync,
    params: *const bt_le_per_adv_response_params,
    data: *const net_buf_simple,
) -> i32
Expand description

@brief Set the data for a response slot in a specific subevent of the PAwR.

This function is called by the application to set the response data. The data for a response slot shall be transmitted only once.

@param per_adv_sync The periodic advertising sync object. @param params Parameters. @param data The response data to send.

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