Skip to content

Operation not supported, cannot set  #2777

Open
@fromage9747

Description

@fromage9747

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

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