gap: fix ServiceDataElement.UUID comment

I can't find anything that says the service UUID can also be a company
UUID (though the UUID number ranges don't overlap, so it could be
possible). Maybe I'm wrong, considering the size of the Bluetooth
specification I could easily have missed something.
This commit is contained in:
Ayke van Laethem 2024-05-25 17:04:09 +02:00 committed by Ron Evans
parent abbb565ef0
commit c26c9d5630

3
gap.go
View file

@ -77,9 +77,8 @@ type ManufacturerDataElement struct {
// ServiceDataElement strores a uuid/byte-array pair used as ServiceData advertisment elements // ServiceDataElement strores a uuid/byte-array pair used as ServiceData advertisment elements
type ServiceDataElement struct { type ServiceDataElement struct {
// service uuid or company uuid // Service UUID.
// The list can also be viewed here: // The list can also be viewed here:
// https://bitbucket.org/bluetooth-SIG/public/src/main/assigned_numbers/company_identifiers/company_identifiers.yaml
// https://bitbucket.org/bluetooth-SIG/public/src/main/assigned_numbers/uuids/service_uuids.yaml // https://bitbucket.org/bluetooth-SIG/public/src/main/assigned_numbers/uuids/service_uuids.yaml
UUID UUID UUID UUID
// the data byte array // the data byte array