#[repr(C, packed)]pub struct ble_gap_conn_sec_mode_t {
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
}
Expand description
@brief GAP connection security modes.
Security Mode 0 Level 0: No access permissions at all (this level is not defined by the Bluetooth Core specification).\n Security Mode 1 Level 1: No security is needed (aka open link).\n Security Mode 1 Level 2: Encrypted link required, MITM protection not necessary.\n Security Mode 1 Level 3: MITM protected encrypted link required.\n Security Mode 1 Level 4: LESC MITM protected encrypted link using a 128-bit strength encryption key required.\n Security Mode 2 Level 1: Signing or encryption required, MITM protection not necessary.\n Security Mode 2 Level 2: MITM protected signing required, unless link is MITM protected encrypted.\n
Fields§
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
Implementations§
Trait Implementations§
source§impl Clone for ble_gap_conn_sec_mode_t
impl Clone for ble_gap_conn_sec_mode_t
source§fn clone(&self) -> ble_gap_conn_sec_mode_t
fn clone(&self) -> ble_gap_conn_sec_mode_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