NordicSemiconductor / bluetooth-numbers-database

An up-to-date listing of all the various Bluetooth Specification-related elements that are defined by our industry (Company IDs, Service UUIDs, Characteristic UUIDs and Descriptor UUIDs), that you can use instead of rolling your own.
Other
340 stars 52 forks source link

Fix: Some Characteristics had an invalid '0x' prefix #17

Closed dinesharjani closed 4 years ago

philips77 commented 4 years ago

Shouldn't it be validated in the script?

bihanssen commented 4 years ago

I think it should be possible to add a validation of the format directly in the schema validation. https://github.com/ajv-validator/ajv#formats

philips77 commented 4 years ago

Looks like @bencefr checks it in #18.