This commit is contained in:
Developer
2026-05-18 17:52:09 +08:00
commit cae04eead5
62 changed files with 11230 additions and 0 deletions

View 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);
}