#[repr(C)]pub struct ble_l2cap_evt_ch_rx_t {
pub sdu_len: u16,
pub sdu_buf: ble_data_t,
}
Expand description
@brief L2CAP Channel received SDU event.
Fields§
§sdu_len: u16
< Total SDU length, in bytes.
sdu_buf: ble_data_t
< SDU data buffer. @note If there is not enough space in the buffer (sdu_buf.len < sdu_len) then the rest of the SDU will be silently discarded by the SoftDevice.
Trait Implementations§
source§impl Clone for ble_l2cap_evt_ch_rx_t
impl Clone for ble_l2cap_evt_ch_rx_t
source§fn clone(&self) -> ble_l2cap_evt_ch_rx_t
fn clone(&self) -> ble_l2cap_evt_ch_rx_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