Open
Description
SerialPort Version
12.0.0
Node Version
v20.12.0
Electron Version
29.1.1
Platform
Darwin MacBook-Air.local 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:41 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T8103 arm64
Architecture
arm64
Hardware or chipset of serialport
No response
What steps will reproduce the bug?
const port = new SerialPort({
path,
baudRate: 115200,
dataBits: 8,
parity: 'none',
stopBits: 1,
autoOpen: false,
hupcl: false,
rtscts: false,
dsrdtr: false,
})
What happens?
The port opens with the RTS flag, when this behavior is not required, the device is reset and it is impossible to get the data stored on it
What should have happened?
RTS flag must be set to false when the port is opened
Additional information
On Windows, the same code works as expected
Metadata
Metadata
Assignees
Labels
No labels