From 231a3c5dc35d47b98d884de81d2d42dd8ea52f2a Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 10 Feb 2017 11:05:42 +0100 Subject: [PATCH] gatt_compiler: fix typo on CLIENT_CHARACTERISTIC_CONFIGURATION --- tool/compile_gatt.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tool/compile_gatt.py b/tool/compile_gatt.py index b2d4f0ef4..34e3d28ef 100755 --- a/tool/compile_gatt.py +++ b/tool/compile_gatt.py @@ -468,8 +468,10 @@ def parseReportReference(fout, parts): property_read = property_flags['READ']; size = 2 + 2 + 2 + 2 + 1 + 1 - report_id = parts[1] - report_type = parts[2] + properties = parseProperties(parts[1]) + + report_id = parts[2] + report_type = parts[3] write_indent(fout) fout.write('// 0x%04x REPORT_REFERENCE-%s\n' % (handle, '-'.join(parts[1:]))) @@ -583,7 +585,7 @@ def parseLines(fname_in, fin, fout): # 2902 Client Characteristic Configuration - automatically included in Characteristic if # notification / indication is supported - if parts[0] == 'CHARACTERISTIC_USER_DESCRIPTION': + if parts[0] == 'CLIENT_CHARACTERISTIC_CONFIGURATION': continue # 2903