Skip to main content

Module device

Module device 

Source
Expand description

Serializable device-model types.

These mirror the HID++ types from the hidpp crate but live here so the CLI and any future GUI can depend on them without dragging in the protocol crate or its async transport.

Structs§

BatteryInfo
DeviceInventory
DeviceModelInfo
HID++ DeviceInformation (feature 0x0003) snapshot used to identify a device against external registries (e.g. the OpenLogi asset index).
DeviceTransports
Mirror of hidpp’s DeviceTransport bitfield — one bool per protocol the device firmware exposes. The shape is dictated by HID++ feature 0x0003; a state machine doesn’t fit since a single device can announce multiple transports simultaneously.
PairedDevice
ReceiverInfo

Enums§

BatteryLevel
Coarse battery bucket reported by the device firmware.
BatteryStatus
Charging state. Mirrors hidpp 0.2’s BatteryStatus plus Unknown for values added in future protocol versions.
DeviceKind
What a paired peripheral is. Mirrors hidpp::receiver::bolt::BoltDeviceKind but is owned by us so consumers don’t depend on hidpp.