#[repr(C)]pub struct ble_gap_evt_qos_conn_event_report_t {
pub event_counter: u16,
pub ch_index: u8,
pub crc_ok_count: u8,
pub crc_error_count: u8,
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
}
Expand description
@brief Event structure for @ref BLE_GAP_EVT_QOS_CONN_EVENT_REPORT.
Fields§
§event_counter: u16
< Connection event counter corresponding to the connection event report.
ch_index: u8
< Data Channel Index used during the connection event (0-36).
crc_ok_count: u8
< Number of packets received with good CRC during the connection event.
crc_error_count: u8
< Number of packets received with bad CRC during the connection event.
_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
Implementations§
source§impl ble_gap_evt_qos_conn_event_report_t
impl ble_gap_evt_qos_conn_event_report_t
pub fn rx_timeout(&self) -> u8
pub fn set_rx_timeout(&mut self, val: u8)
pub fn new_bitfield_1(rx_timeout: u8) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations§
source§impl Clone for ble_gap_evt_qos_conn_event_report_t
impl Clone for ble_gap_evt_qos_conn_event_report_t
source§fn clone(&self) -> ble_gap_evt_qos_conn_event_report_t
fn clone(&self) -> ble_gap_evt_qos_conn_event_report_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more