ModbusSerialPort class abstract
Abstract serial port client
Constructors
Properties
Methods
-
close(
) → Future< void> - Closes the serial port.
-
flush(
) → Future< void> - Flushes serial port buffers.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
) → Future< bool> - Opens the serial port for reading and writing.
-
read(
int bytes, {Duration? timeout}) → Future< Uint8List> - Read data from the serial port.
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
Uint8List bytes, {Duration? timeout}) → Future< int> - Write data to the serial port.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited