From 079990e8068ac2556dc08f2b2cb6f914c5f1a2f0 Mon Sep 17 00:00:00 2001 From: Sanaa Hamel Date: Fri, 14 Apr 2023 14:32:10 -0400 Subject: [PATCH] compile_gatt: fix incorrect GATT descriptor for VALID_RANGE and ENVIRONMENTAL_SENSING_MEASUREMENT fix parseGenericDynamicReadOnlyDescriptor ignoring its uuid param --- tool/compile_gatt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/compile_gatt.py b/tool/compile_gatt.py index 167fb6701..8452c5f06 100755 --- a/tool/compile_gatt.py +++ b/tool/compile_gatt.py @@ -714,7 +714,7 @@ def parseGenericDynamicReadOnlyDescriptor(fout, parts, uuid, name): write_16(fout, size) write_16(fout, flags) write_16(fout, handle) - write_16(fout, 0x2903) + write_16(fout, uuid) fout.write("\n") database_hash_append_uint16(handle)