init
This commit is contained in:
20
lib/enums/serial_flow_control.dart
Normal file
20
lib/enums/serial_flow_control.dart
Normal file
@@ -0,0 +1,20 @@
|
||||
/// Flow control setting for serial port communication.
|
||||
///
|
||||
/// Maps to the autoreplyprint AAR SDK flow control constants.
|
||||
enum SerialFlowControl {
|
||||
/// No flow control
|
||||
none(0),
|
||||
|
||||
/// XON/XOFF software flow control
|
||||
xonXoff(1),
|
||||
|
||||
/// RTS/CTS hardware flow control
|
||||
rtsCts(2),
|
||||
|
||||
/// DTR/DSR hardware flow control
|
||||
dtrDsr(3);
|
||||
|
||||
/// The integer value matching the AAR SDK constant.
|
||||
final int value;
|
||||
const SerialFlowControl(this.value);
|
||||
}
|
||||
Reference in New Issue
Block a user