Skip to content

How catch Lost Serial port(for example USB virtual rs-232 unplug) #121

@irbismaestro

Description

@irbismaestro

Hi
Thanks for library.
I have a question. My environment: Linux Centos 7x 64 .
Usb Virtual rs-232 . Its mapped as /dev/USB0(1,2,3..) or /dev/ACM0(1,2,3...)
library work but when USB device unplug, my application have crashed and exit. How I can catch this event(unplug) and reconnect(or wait connection),?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions