EspDevice class final
A provisioning device found by EspProvisioning.scan.
Constructors
- EspDevice(DiscoveredDevice discovered)
- Wraps a transport-level DiscoveredDevice.
Properties
- discovered → DiscoveredDevice
-
The underlying transport-level device.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Platform device id.
no setter
- name → String
-
Advertised name, e.g.
PROV_1A2B3C.no setter - rssi → int?
-
Signal strength of the last advertisement.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
connect(
{ProvCredentials? credentials}) → Future< EspSession> -
Connects, reads
proto-ver, runs the handshake for the scheme the firmware declares and returns the session. The link is closed again if any step fails. -
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