Skip to content

Improve connecting to a device #8

@Poofjunior

Description

@Poofjunior

In addition to connecting to a device by a serial port, we should also support:

  • Connect to the first device matched by name
  • Connect to a device by type whoami
  • Connect to a device by unique id
dev = Device(type="cuttlefish-fip")  # Connect to the first device with matching name from usb descriptor
dev = Device(whoami=1407)  # Connect to the first device with matching id
dev = Device(unique_id=e660583883278628)  # Connect to the device with matching unique id

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