#[repr(C)]pub struct bt_le_per_adv_response_params {
pub request_event: u16,
pub request_subevent: u8,
pub response_subevent: u8,
pub response_slot: u8,
}
Expand description
@brief Parameters for sending a periodic advertising response.
@details This struct contains the parameters used when sending a response to a periodic advertising request (see @ref bt_le_per_adv_set_response_data function). The response is sent in the specified subevent and response slot, and includes event and subevent counters to track the request the response corresponds to.
Fields§
§request_event: u16
@brief The periodic event counter of the request the response is sent to.
@ref bt_le_per_adv_sync_recv_info
@note The response can be sent up to one periodic interval after the request was received.
request_subevent: u8
@brief The subevent counter of the request the response is sent to.
@ref bt_le_per_adv_sync_recv_info
response_subevent: u8
The subevent the response shall be sent in
response_slot: u8
The response slot the response shall be sent in