Skip to content

new SerialPort re-enables echo on serial port #2845

Open
@sbendt

Description

@sbendt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions