Skip to content

if device reports 2 ports and they're the "same" port, just auto select one of them #264

@mkinney

Description

@mkinney

We have a few situations where the single device reports as two serial ports.

example 1:
rak11200 on mac:
Ports detected:['/dev/cu.usbserial-1430', '/dev/cu.wchusbserial1430']

example 2:
heltec21 on mac (with serial driver installed)
Ports detected:['/dev/cu.SLAB_USBtoUART', '/dev/cu.usbserial-0001']

example 3:
tlora
ports:['/dev/cu.usbmodem11301', '/dev/cu.wchusbserial11301']

We should just pick the 2nd in each of those categories.

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