#[repr(C)]pub struct bt_le_per_adv_subevent_data_params {
pub subevent: u8,
pub response_slot_start: u8,
pub response_slot_count: u8,
pub data: *const net_buf_simple,
}
Expand description
@brief Parameters for setting data for a specific periodic advertising with response subevent.
@details This struct provides the necessary information to set the data for a specific subevent in a Periodic Advertising with Response (PAwR) scenario. It specifies the subevent number, the range of response slots to listen to, and the actual data to send. This is used to respond to data request from an advertiser by sending back the data in the specified subevent.
@note Used in @ref bt_le_per_adv_set_subevent_data function.
Fields§
§subevent: u8
The subevent to set data for
response_slot_start: u8
The first response slot to listen to
response_slot_count: u8
The number of response slots to listen to
data: *const net_buf_simple
The data to send
Trait Implementations§
Auto Trait Implementations§
impl Freeze for bt_le_per_adv_subevent_data_params
impl RefUnwindSafe for bt_le_per_adv_subevent_data_params
impl !Send for bt_le_per_adv_subevent_data_params
impl !Sync for bt_le_per_adv_subevent_data_params
impl Unpin for bt_le_per_adv_subevent_data_params
impl UnwindSafe for bt_le_per_adv_subevent_data_params
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more