We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c9f142 commit 3099149Copy full SHA for 3099149
serial.go
@@ -64,6 +64,9 @@ type ModemStatusBits struct {
64
65
// ModemOutputBits contains all the modem output bits for a serial port.
66
// This is used in the Mode.InitialStatusBits struct to specify the initial status of the bits.
67
+// Note: Linux and MacOSX (and basically all unix-based systems) can not set the status bits
68
+// before opening the port, even if the initial state of the bit is set to false they will go
69
+// anyway to true for a few milliseconds, resulting in a small pulse.
70
type ModemOutputBits struct {
71
RTS bool // ReadyToSend status
72
DTR bool // DataTerminalReady status
0 commit comments