bluetooth-numbers 0.2.0

The Bluetooth SIG's Assigned Numbers (company identifiers, UUIDs, appearance, AD types, units), generated at build time from the SIG's public repository
Documentation
  • Coverage
  • 100%
    41 out of 41 items documented1 out of 21 items with examples
  • Size
  • Source code size: 729.9 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 240.2 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 4s Average build duration of successful builds.
  • all releases: 4s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • pulzar-net/bluetooth-bridge
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • The1TrueJoe

bluetooth-numbers

crates.io docs.rs

The Bluetooth SIG's Assigned Numbers, as lookup functions.

cargo add bluetooth-numbers

Every table is generated at build time from the YAML the SIG publishes in its public repository (https://bitbucket.org/bluetooth-SIG/public), so the names here are the SIG's own and a new assignment arrives with an update of that repository, never by editing this crate.

assert_eq!(bluetooth_numbers::company(0x004c), Some("Apple, Inc."));
assert_eq!(bluetooth_numbers::service(0x180f).map(|s| s.name), Some("Battery"));

Part of bluetooth-bridge, maintained by Pulzar. See the user guide, the library guide and the API documentation.

License: MIT.