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

RTS flag on Darwin (MacOS) #2785

Open
Hikk0o opened this issue Apr 17, 2024 · 0 comments
Open

RTS flag on Darwin (MacOS) #2785

Hikk0o opened this issue Apr 17, 2024 · 0 comments

Comments

@Hikk0o
Copy link

Hikk0o commented Apr 17, 2024

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

@Hikk0o Hikk0o closed this as completed Apr 17, 2024
@Hikk0o Hikk0o reopened this Apr 17, 2024
@Hikk0o Hikk0o changed the title RTS flag on Darwin RTS flag on Darwin (MacOS) Apr 25, 2024
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