Open sbendt opened 2 weeks ago
12.0.0
v22.4.0
No response
Debian 11.10
aarch64
IMX8 internal
disabled echo on serial port with: sudo stty -F /dev/ttymxc0 -echo
Started node application with sample content: var port = new SerialPort({ path: this.config.port, baudRate: this.config.baud_rate, dataBits: 8, parity:"none", stopBits:1}, async (error : Error | null) => { ... }
Echo was enabled when application started
External system received the bytes it transmitted, causing failure.
Echo functionality should not be enabled by new SerialPort, or have settings to disable.
SerialPort Version
12.0.0
Node Version
v22.4.0
Electron Version
No response
Platform
Debian 11.10
Architecture
aarch64
Hardware or chipset of serialport
IMX8 internal
What steps will reproduce the bug?
disabled echo on serial port with: sudo stty -F /dev/ttymxc0 -echo
Started node application with sample content: var port = new SerialPort({ path: this.config.port, baudRate: this.config.baud_rate, dataBits: 8, parity:"none", stopBits:1}, async (error : Error | null) => { ... }
Echo was enabled when application started
What happens?
External system received the bytes it transmitted, causing failure.
What should have happened?
Echo functionality should not be enabled by new SerialPort, or have settings to disable.
Additional information
No response