Skip to content

Commit

Permalink
gap: fix ServiceDataElement.UUID comment
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
aykevl authored and deadprogram committed May 25, 2024
1 parent abbb565 commit c26c9d5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gap.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,8 @@ type ManufacturerDataElement struct {

// ServiceDataElement strores a uuid/byte-array pair used as ServiceData advertisment elements
type ServiceDataElement struct {
// service uuid or company uuid
// Service UUID.
// 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
UUID UUID
// the data byte array
Expand Down

0 comments on commit c26c9d5

Please sign in to comment.