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

Operation not supported, cannot set #2777

Open
fromage9747 opened this issue Apr 14, 2024 · 0 comments
Open

Operation not supported, cannot set #2777

fromage9747 opened this issue Apr 14, 2024 · 0 comments

Comments

@fromage9747
Copy link

SerialPort Version

^12.0.0"

Node Version

v16.20.2

Electron Version

Nestjs v10.3.2

Platform

Linux debian 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux

Architecture

x64

Hardware or chipset of serialport

USB-Enhanced-SERIAL CH343

What steps will reproduce the bug?

const serialport = new SerialPort(path)

serialport.on('open', function() {
    serialport.set({ dtr: true, rts: true });
}

What happens?

Cannot set { dtr: true, rts: true }. Receive an error output of Operation not supported, cannot set

What should have happened?

Successfully setting of { dtr: true, rts: true }

Additional information

I have read through other GitHub posts relating to this and also installed the latest version of bindings as the previous posts were relating to v9 of the serial port.

What led me onto this is https://stackoverflow.com/questions/67905013/node-serialport-not-receiving-data

I am not receiving data from my serial device. I can send data to the device and can physically see the actions being performed that have been programmed for the serial device, but I do not receive any output in the serial.on('data) hence why It led me to the above link.

Now I am trying to set { dtr: true, rts: true } in the hopes of receiving data but only receive Operation not supported, cannot set

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