#[repr(C)]pub struct otPlatBleGapConnParams {
pub mConnMinInterval: u16,
pub mConnMaxInterval: u16,
pub mConnSlaveLatency: u16,
pub mConnSupervisionTimeout: u16,
}Expand description
This structure represents BLE connection parameters.
Fields§
§mConnMinInterval: u16Preferred minimum connection interval in OT_BLE_TIMESLOT_UNIT units. Shall be in OT_BLE_CONN_INTERVAL_MIN and OT_BLE_CONN_INTERVAL_MAX range.
mConnMaxInterval: u16Preferred maximum connection interval in OT_BLE_TIMESLOT_UNIT units. Shall be in OT_BLE_CONN_INTERVAL_MIN and OT_BLE_CONN_INTERVAL_MAX range.
mConnSlaveLatency: u16Slave Latency in number of connection events. Shall not exceed OT_BLE_CONN_SLAVE_LATENCY_MAX value.
mConnSupervisionTimeout: u16Defines connection timeout parameter in OT_BLE_CONN_SUPERVISOR_UNIT units. Shall be in OT_BLE_CONN_SUPERVISOR_TIMEOUT_MIN and OT_BLE_CONN_SUPERVISOR_TIMEOUT_MIN range.
Trait Implementations§
Source§impl Clone for otPlatBleGapConnParams
impl Clone for otPlatBleGapConnParams
Source§fn clone(&self) -> otPlatBleGapConnParams
fn clone(&self) -> otPlatBleGapConnParams
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 moreSource§impl Debug for otPlatBleGapConnParams
impl Debug for otPlatBleGapConnParams
impl Copy for otPlatBleGapConnParams
Auto Trait Implementations§
impl Freeze for otPlatBleGapConnParams
impl RefUnwindSafe for otPlatBleGapConnParams
impl Send for otPlatBleGapConnParams
impl Sync for otPlatBleGapConnParams
impl Unpin for otPlatBleGapConnParams
impl UnwindSafe for otPlatBleGapConnParams
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