SimpleBLE icon indicating copy to clipboard operation
SimpleBLE copied to clipboard

Add the list of company identifiers

Open jferdelyi opened this issue 2 years ago • 6 comments

This is just a suggestion, I'm not sure if this is a good idea to incorporate into the project.

Maybe adding the list of company identifiers might be a good idea to convert the manufacturer data code into the company name string. The official list can be found here (in CSV): https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers/

The "problem" is that this list will continue to grow and that a regular update is necessary...

jferdelyi avatar Aug 18 '22 21:08 jferdelyi

Good suggestion. Keeping the library updated shouldn't be hard. I'll add it to the list.

kdewald avatar Aug 19 '22 20:08 kdewald

Hi,

I needed the same feature for my project and implemented a solutions a few months ago that could be use for this library.

Here : https://github.com/Yohannfra/generate_bluetooth_16_bits_uuid_json is a python script that parses the bluetooth sig pdf of all the uuid and generate a json that I update frequently (you can find it here

Once the json is generated it's trivial to parse it and use it as a map to find the names.

Yohannfra avatar Sep 14 '22 12:09 Yohannfra

It has the company names but also all the 16-bit UUID of the standard services and characteristics

Yohannfra avatar Sep 14 '22 12:09 Yohannfra

My bad it doesn't have the company identifiers but only the members, I will update it soon to also add the company identifiers from the csv

Yohannfra avatar Sep 14 '22 12:09 Yohannfra

@Yohannfra FYI, I found this: https://github.com/NordicSemiconductor/bluetooth-numbers-database

kdewald avatar Sep 15 '22 04:09 kdewald

@Yohannfra FYI, I found this: https://github.com/NordicSemiconductor/bluetooth-numbers-database

Thanks for the link, this is much better than what I have I'll use this instead.

Yohannfra avatar Oct 26 '22 01:10 Yohannfra