Skip to content

bluetooth-numbers

The Bluetooth SIG’s Assigned Numbers as lookup functions: company identifiers; service, characteristic, descriptor, unit, member and SDO UUIDs; AD types; appearances; URI schemes; core versions; PSMs; format types; and the Mesh opcodes and model identifiers. crates.io, docs.rs, API docs for main.

assert_eq!(bluetooth_numbers::company(0x004c), Some("Apple, Inc."));

The tables are generated at build time from the YAML in the SIG’s public repository, checked out as a git submodule (crates/bluetooth-numbers/sig). Nothing is typed in by hand: a new assignment arrives with an update of the submodule. The data remains the SIG’s; it is not copied into this repository.