Skip to main content

Module details

Module details 

Source
Expand description

Typed per-port details (available_ports_detailed): numeric vid/pid, USB interface number, physical location and Linux /dev/serial links. The 4.x string map of SerialManager::available_ports is unchanged.

Structs§

PortDetails
One enumerated port. Unknown values are None (not "Unknown").

Enums§

PortType
Kind of port, as in the 4.x type field.

Functions§

available_ports_detailed
Every serial port with typed details, sorted by path (both macOS cu. and tty. nodes, no de-duplication). iOS: empty.
details_from_info_map
Convert a 4.x string map (Android, iOS): "Unknown" -> None, vid/pid hex (0x1A86) or decimal. No interface / location there.
details_from_type
Convert one serialport entry (desktop).