Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new SerialPort re-enables echo on serial port #2845

Open
sbendt opened this issue Jul 4, 2024 · 0 comments
Open

new SerialPort re-enables echo on serial port #2845

sbendt opened this issue Jul 4, 2024 · 0 comments

Comments

@sbendt
Copy link

sbendt commented Jul 4, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant