Skip to content

Serial port disconnect throws a non-catchable fatal error #3

@sylvinus

Description

@sylvinus

... or I don't know how to catch it.

How to reproduce : plug an arduino in at /dev/ttyACM1 , begin reading data, disconnect the arduino.

I get :

Error: ENODEV, No such device
at
var bytes_read = serialport_native.read(file_id,buffer);

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