future-proof-iot / RIOT-rs

RIOT-rs is an operating system for secure, memory-safe, low-power Internet of Things, written in Rust
Apache License 2.0
44 stars 12 forks source link

clarify USB VID/PID use #339

Open kaspar030 opened 3 months ago

kaspar030 commented 3 months ago
chrysn commented 3 months ago

For context, RIOT has test codes assigned via pid.codes. The setup there was that we'd have one test code for examples etc where the peripherals were really user driven (do we even open up that API publicly?), and one code for any device that exposes any combination of our standard peripherals – be it stdio, DFU entry, Ethernet or whatever we have.

Given this is part of the RIOT project, I think 1209 7D01 is a good default for us to use for the time being. As we stabilize, we can start pondering whether 7D00 also applies to RIOT-rs, or whether we take another one (rather painless a process, except that it may take some weeks until the codes maintainer goes through the current registrations).

Documentation could say (don't know where):

The Vendor ID and Product ID (VID / PID) used throughout RIOT-rs are 0x1209 0x7D01, which are registered at pid.codes for testing within the RIOT project. Publishers of applications are encouraged to get an own unique registration, possibly through pid.codes if the project meets their requirements.