ZwPort class abstract
ZwPort handles low level communication with the Z-Wave controller. Low level ACK (acknowledge) and NAK (corrupt message) responses are automatically sent and higher level message data is forwarded to the provided request/response handlers.
- Implementers
Constructors
- ZwPort()
Properties
- driver ↔ ZwDriver
-
The driver used by this port to process Z-Wave messages
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- notificationPort ↔ ReceivePort?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> -
closePort(
) → Future< void> - Low level method for closing the Z-Wave port. Clients should call close which calls this method.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
String portPath) → Future< void> -
Open the ZWave serial port on
portPath
whereportPath
defaults todefaultPortPath
if unspecified. -
openPort(
String portPath) → Future< void> - Low level method for opening the Z-Wave port. Clients should call open which calls this method.
-
process(
dynamic data) → void -
toString(
) → String -
A string representation of this object.
inherited
-
write(
List< int> data) → void - Send raw data over the port to the Z-Wave controller.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited