Struct rubble::l2cap::BleChannelMap [−][src]
pub struct BleChannelMap<A: AttributeProvider, S: SecurityLevel> {
att: AttributeServer<A>,
signaling: SignalingState,
sm: SecurityManager<S>,
}
Expand description
A fixed BLE channel map that provides only the required channel endpoints and does not allow dynamic channels.
The channels are mapped as follows (no other channels are supported):
0x0004
: Attribute protocol (ATT).0x0005
: LE L2CAP signaling channel.0x0006
: LE Security Manager protocol.
Fields
att: AttributeServer<A>
signaling: SignalingState
sm: SecurityManager<S>
Implementations
Provides mutable access to the underlying AttributeProvider
.
Trait Implementations
type AttributeProvider = A
type AttributeProvider = A
The attribute provider used by the ATT server.
Look up what’s connected to channel
(eg. the Protocol
to which to forward).
Returns information about the Attribute Protocol on channel 0x0004
.