Comment

Comment by wongarsu

> The MHS driver uses a simple set of primitives—commands like “read” (for example, “get temperature”) or “write” (for example, “set temperature”)—that any hardware device can understand and act on. And it makes each device discoverable in a standard format, so that devices and agents can find each other and communicate across networks without needing a bespoke “translator” program in between.

> the MHS driver then automatically produces a reference file with information about a device’s general characteristics, such as what it can measure, what can be adjusted, and what safety limits will be enforced

But that's just USB. USB HID does all of that.

Any USB device can declare that it offers sensors like "Biometric: Body Temperature" or "Environmental: Temperature" or "Environmental: Surface Temperature".

I guess USB HID is designed for human input devices while they are more concerned about what you might call "output devices". And putting it in a driver gives you flexibility with legacy hardware

parent wongarsu 2 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton