ScpMessageSender class Null safety

Constructors

ScpMessageSender()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fetchNVCN(ScpDevice device) → dynamic
sendControl(ScpDevice device, String action) Future<String>
sendDiscoverHello(String ip) → dynamic
sendMeasure(ScpDevice device, String action) Future<ScpStatusMeasure>
sendNewPassword(ScpDevice device) → dynamic
sendRename(ScpDevice device, String name) Future<ScpStatus>
sendResetToDefault(ScpDevice device) Future<ScpStatus>
sendRestart(ScpDevice device) → dynamic
sendWifiConfig(ScpDevice device, String ssid, String preSharedKey) → dynamic
urlEncode(String s) String

Constants

CONTROL_TIMEOUT → const int
30
DISCOVER_TIMEOUT → const int
10
NEW_PASSWORD_TIMEOUT → const int
10
NVCN_TIMEOUT → const int
10
PORT → const int
19316
RESET_TO_DEFAULT_TIMEOUT → const int
30
RESTART_TIMEOUT → const int
30
SET_WIFI_CREDS_TIMEOUT → const int
30