EspProvisioningService class

The EspProvisioningService class is a singleton that returns an instance of the FlutterEspBleProv class

Constructors

EspProvisioningService()
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getPlatformVersion() → Future<String?>
Returns the native platform version
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
provisionWifi(String deviceName, String proofOfPossession, String ssid, String passphrase) → Future<bool?>
Provision the named WiFi network at ssid with the given passphrase for the named device deviceName and proofOfPossession string.
inherited
scanBleDevices(String prefix) → Future<List<String>>
Initiates a scan of BLE devices with the given prefix.
inherited
scanWifiNetworks(String deviceName, String proofOfPossession) → Future<List<String>>
Scan the available WiFi networks for the given deviceName and proofOfPossession string. This library uses SECURITY_1 by default which insists on a proofOfPossession string. ESP32 Arduino demo defaults this value to "abcd1234"
inherited
toString() → String
A string representation of this object.
inherited

Operators

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