FakeProvisioning class

Available Extensions

Constructors

FakeProvisioning()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
security ↔ Security
getter/setter pair
ssidHint List<String>
final
transport ↔ Transport
getter/setter pair

Methods

applyWifiConfig() Future<bool>
Try to use credentials passed to sendWifiConfig to connect to an access point
dispose() Future<void>
establishSession() Future<bool>
Connect to device and estabilish the secure protocomm session
getStatus() Future<ConnectionStatus?>
Get the status of connection after testing configured credentials with applyWifiConfig
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendReceiveCustomData(Uint8List data, {int packageSize = 256}) Future<Uint8List>
Send data to the custom-data endpoint configured in the esp-idf WiFi provisioning example
sendWifiConfig({String? ssid, String? password}) Future<bool>
Configure WiFi credentials on device
startScanWiFi() Future<List<Map<String, dynamic>>?>
Scan for WiFi access points
toString() String
A string representation of this object.
inherited

Operators

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