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:
parent
abbb565ef0
commit
c26c9d5630
1 changed files with 1 additions and 2 deletions
3
gap.go
3
gap.go
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue