Module device
Expand description
Device types and registry — stable aliases for discovered hardware.
Structs§
- Device
- A discovered and registered hardware device.
- Device
Capabilities - Capability flags for a connected device. Populated from device handshake or static board metadata. Tools can check capabilities before attempting unsupported operations.
- Device
Context - 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.
- Device
Registry
Enums§
- Device
Kind - The category of a discovered hardware device.
Derived from USB Vendor ID or, for unknown VIDs, from a successful
ping handshake (which yields
Generic). - Device
Runtime
Constants§
- NO_
HW_ DEVICES_ SUMMARY - Summary string returned by
DeviceRegistry::prompt_summarywhen no devices are registered. Exported so callers can compare against it without duplicating the literal.