Struct fuchsia_bluetooth::types::bonding_data::LeBondData
source · pub struct LeBondData {
pub connection_parameters: Option<LeConnectionParameters>,
pub services: Vec<Uuid>,
pub peer_ltk: Option<Ltk>,
pub local_ltk: Option<Ltk>,
pub irk: Option<PeerKey>,
pub csrk: Option<PeerKey>,
}
Expand description
Bluetooth Low Energy specific bonding data
Fields§
§connection_parameters: Option<LeConnectionParameters>
The peer’s preferred connection parameters, if known.
services: Vec<Uuid>
Known GATT service UUIDs.
peer_ltk: Option<Ltk>
LE long-term key generated and distributed by the peer device. This key is used when the peer is the follower (i.e. the peer is in the LE peripheral role).
Note: In LE legacy pairing, both sides are allowed to generate and distribute a link key.
In Secure Connections pairing, both sides generate the same LTK and hence the peer_ltk
and
local_ltk
values are identical.
local_ltk: Option<Ltk>
LE long-term key generated and distributed by the local bt-host. This key is used when the peer is the leader (i.e. the peer in the LE central role).
Note: In LE legacy pairing, both sides are allowed to generate and distribute a link key.
In Secure Connections pairing, both sides generate the same LTK and hence the peer_ltk
and
local_ltk
values are identical.
irk: Option<PeerKey>
Identity Resolving RemoteKey used to generate and resolve random addresses.
csrk: Option<PeerKey>
Connection Signature Resolving RemoteKey used for data signing without encryption.
Trait Implementations§
source§impl Clone for LeBondData
impl Clone for LeBondData
source§fn clone(&self) -> LeBondData
fn clone(&self) -> LeBondData
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LeBondData
impl Debug for LeBondData
source§impl From<LeBondData> for LeBondData
impl From<LeBondData> for LeBondData
source§fn from(src: LeBondData) -> Self
fn from(src: LeBondData) -> Self
source§impl From<LeBondData> for LeBondData
impl From<LeBondData> for LeBondData
source§fn from(src: LeBondData) -> Self
fn from(src: LeBondData) -> Self
source§impl PartialEq for LeBondData
impl PartialEq for LeBondData
source§fn eq(&self, other: &LeBondData) -> bool
fn eq(&self, other: &LeBondData) -> bool
self
and other
values to be equal, and is used
by ==
.