Skip to main content

Module device

Module device 

Expand description

Device types and registry — stable aliases for discovered hardware.

Structs§

Device
A discovered and registered hardware device.
DeviceCapabilities
Capability flags for a connected device. Populated from device handshake or static board metadata. Tools can check capabilities before attempting unsupported operations.
DeviceContext
Context passed to hardware tools during execution. Provides the tool with access to the device identity, transport layer, and capability flags without the tool managing connections itself.
DeviceRegistry

Enums§

DeviceKind
The category of a discovered hardware device. Derived from USB Vendor ID or, for unknown VIDs, from a successful ping handshake (which yields Generic).
DeviceRuntime

Constants§

NO_HW_DEVICES_SUMMARY
Summary string returned by DeviceRegistry::prompt_summary when no devices are registered. Exported so callers can compare against it without duplicating the literal.