ESPTouchTask class

Class to pass all required information to the platform-specific implementations to fire an ESP-Touch task.

By passing the WiFi name, MAC address and password, you can configure network for ESP8266 and ESP32 devices.

Constructors

ESPTouchTask({required String ssid, required String bssid, String password = '', ESPTouchPacket packet = ESPTouchPacket.broadcast, ESPTouchTaskParameter taskParameter = const ESPTouchTaskParameter()})
const

Properties

bssid String
WiFi BSSID is the MAC address of the wireless access point.
final
hashCode int
The hash code for this object.
no setterinherited
packet ESPTouchPacket
Broadcast or Multicast
final
password String
Password for the wireless access point.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ssid String
WiFi name
final
taskParameter ESPTouchTaskParameter
Configuration parameters for the task,
final

Methods

execute() Stream<ESPTouchResult>
Launch ESPTouch task and listen for events.
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