mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-24 12:40:47 +00:00
fix parsing of strings used as Characteristic Values
This commit is contained in:
parent
c88e6374c9
commit
e292f40715
@ -281,7 +281,7 @@ def parseCharacteristic(fout, parts):
|
||||
|
||||
size = 2 + 2 + 2 + uuid_size
|
||||
if is_string(value):
|
||||
size = size + len(value) - 2
|
||||
size = size + len(value)
|
||||
else:
|
||||
size = size + len(value.split())
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user