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
345 stars 53 forks source link

string identifier for company ids #84

Open dlech opened 2 years ago

dlech commented 2 years ago

It would be useful if companies had an "identifier" property like services and characteristics. This would allow programmatic lookup of CIDs by name. The name property doesn't seem useful for this as it could change over time.

dinesharjani commented 2 years ago

Yes, you're not wrong. But when we got started with this project, our goal was to get it to be as 'close as possible' to the Bluetooth spec - our goal was for this project to be adopted by the community, which I have to say it broadly has, at least by my expectations.

If you have a specific idea of how to extend the API, perhaps witha /v2 option and so on, let us know.

dlech commented 2 years ago

I thought the suggestion of adding an "identifier" property similar to attributes was very specific.

dinesharjani commented 2 years ago

Yes, but how would that work? What would the guidelines be? What would the values be for the current attributes covered? How would we fill the identifier for instances covered by Bluetooth SIG? I meant it in a more 'formal' sense.

dlech commented 2 years ago

The guidelines are the same as for the "identifier" property of attributes (reverse DNS), except it would only use the "com.example" part since it is just the company. If a CID name changes (e.g. the ones with "formerly...."), the identifier does not change. A subdomain could be added if two CIDs use the same top-level domain.

reynoldslaw commented 1 year ago

Apple airtags show initially with no name on nrf connect 2.6.7 build 34 for ios. Once connected the name at the bottom updates as FindMy. Yet the name in the list cannot be filtered.

Another issue is in the RSSI tab, the colors on the left do not match the colors of the RSSI lines.

When selecting a single device, all RSSI lines turn grey, and the selected device also remains gray when it should be the only one in color.

The device advertises Apple Reserved Service so the best practice would be to identify the device as an Airtag.

dinesharjani commented 1 year ago

@reynoldslaw Apple has multiple Reserved Service(s). And since they're not documented / published in any one place (to my knowledge), they could potentially be changed, even though I agree that's not a likely thing. But I can look into it.