$ show nordicsemi/bluetooth-numbers-database
This repository is a curated database of Bluetooth Assigned Numbers, providing JSON-formatted data for Company IDs, Service UUIDs, Characteristic UUIDs, Descriptor UUIDs, and GAP Appearance values. It serves as a single source of truth for Bluetooth numeric identifiers, enabling developers to look up human-readable names and descriptions for these values. The project includes validation and verification scripts to ensure data integrity, and update scripts to maintain synchronization with the official Bluetooth SIG assignments. While the core value lies in the JSON data files, the repository also provides reusable patterns for data validation, duplicate detection, and external data transformation.
The LLM identified 2 files worth highlighting for reuse:
Implements a reusable pattern for validating multiple JSON datasets against their corresponding schemas. The code iterates through data keys, validates each against its schema using AJV, and provides clear error reporting. This pattern is decoupled, easy to extract, and demonstrates solid data validation practices that could be applied to any JSON-based data project.
Provides a reusable framework for checking data integrity across different entity types, including duplicate detection and format validation. The code uses type-specific logic for different data structures (companies, appearances, GATT attributes) while maintaining a consistent verification interface. This pattern demonstrates good practices for ensuring data quality in multi-entity datasets.