ConnectedBlePeripheral class

A connected peripheral returned from BleCentral.connectToPeripheral

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
The id of the peripheral.
final
isMultipleChannelForPSMSupported bool
Determines if multiple connectToL2CapChannel calls should work.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
services List<BleService>
The services that the peripheral advertises.
final

Methods

connectToL2CapChannel(int psm) Future<L2CapChannel>
Connects to the given PSM to establish L2CAP COC.
disconnect() Future<void>
Disconnects from the peripheral.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited