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 givenpassphrase
for the named devicedeviceName
andproofOfPossession
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
andproofOfPossession
string. This library uses SECURITY_1 by default which insists on aproofOfPossession
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