compile_gatt: fix incorrect GATT descriptor for VALID_RANGE and ENVIRONMENTAL_SENSING_MEASUREMENT

fix parseGenericDynamicReadOnlyDescriptor ignoring its uuid param
This commit is contained in:
Sanaa Hamel 2023-04-14 14:32:10 -04:00 committed by Matthias Ringwald
parent a6622c5743
commit 079990e806

View File

@ -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)