Skip to content

Commit c26c9d5

Browse files
aykevldeadprogram
authored andcommitted
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.
1 parent abbb565 commit c26c9d5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

gap.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,8 @@ type ManufacturerDataElement struct {
7777

7878
// ServiceDataElement strores a uuid/byte-array pair used as ServiceData advertisment elements
7979
type ServiceDataElement struct {
80-
// service uuid or company uuid
80+
// Service UUID.
8181
// The list can also be viewed here:
82-
// https://bitbucket.org/bluetooth-SIG/public/src/main/assigned_numbers/company_identifiers/company_identifiers.yaml
8382
// https://bitbucket.org/bluetooth-SIG/public/src/main/assigned_numbers/uuids/service_uuids.yaml
8483
UUID UUID
8584
// the data byte array

0 commit comments

Comments
 (0)