Thanks to visit codestin.com
Credit goes to github.com

Skip to content

How to continue after error on serial port? #252

Closed
@Artyrm

Description

@Artyrm

If serial port being accessed by another application, or if it was briefly disconnected, device.reader gives an error, closes port and stops _packet_listener. But I want to reconnect after that. How to do it?

device.close() and device.open() sequence takes too much time (~1min) to use it.

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