From c26c9d5630fa966f68e576196e1aba515ab3ccb2 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Sat, 25 May 2024 17:04:09 +0200 Subject: [PATCH] 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. --- gap.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gap.go b/gap.go index 517b14b..56d3e5e 100644 --- a/gap.go +++ b/gap.go @@ -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