SerialDeviceConfig class

Minimal configuration analogous to your CUPPS peripheral config

Constructors

SerialDeviceConfig({required String portName, int baudRate = 9600, int dataBits = 8, int parity = 0, int stopBits = 1, bool dtrEnable = true, bool rtsEnable = true, int flowControl = SerialPortFlowControl.none, Duration readTimeout = const Duration(milliseconds: 500), Duration writeTimeout = const Duration(milliseconds: 500), ProtocolMode protocolMode = ProtocolMode.framed})
const

Properties

baudRate int
final
dataBits int
final
dtrEnable bool
final
flowControl int
final
hashCode int
The hash code for this object.
no setterinherited
parity int
final
portName String
final
protocolMode ProtocolMode
final
readTimeout Duration
final
rtsEnable bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stopBits int
final
writeTimeout Duration
final

Methods

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