Expand description
Device probe and port open helpers. Device discovery and port enumeration.
Use describe_device after the transport is ready (interfaces readable) to learn
how many serial ports the chip exposes, then open_port with a zero-based index.
Structs§
- Device
Descriptor - USB device identify + probed driver and ports.
- Port
Descriptor - One logical serial port exposed by a USB composite / multi-interface device.
Functions§
- describe_
device - Probe VID/PID + interface layout without opening a driver session.
- open_
port - Open port
port_index(0 for single-port chips like CH340).