Added a doc notice for posix 'pulse' problem

This commit is contained in:
Cristian Maglie
2022-09-03 18:04:47 +02:00
parent 3c9f14262a
commit 3099149a03

View File

@@ -64,6 +64,9 @@ type ModemStatusBits struct {
// ModemOutputBits contains all the modem output bits for a serial port. // ModemOutputBits contains all the modem output bits for a serial port.
// This is used in the Mode.InitialStatusBits struct to specify the initial status of the bits. // This is used in the Mode.InitialStatusBits struct to specify the initial status of the bits.
// Note: Linux and MacOSX (and basically all unix-based systems) can not set the status bits
// before opening the port, even if the initial state of the bit is set to false they will go
// anyway to true for a few milliseconds, resulting in a small pulse.
type ModemOutputBits struct { type ModemOutputBits struct {
RTS bool // ReadyToSend status RTS bool // ReadyToSend status
DTR bool // DataTerminalReady status DTR bool // DataTerminalReady status