21 lines
449 B
Dart
21 lines
449 B
Dart
/// 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);
|
|
}
|