mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-29 21:32:38 +00:00
support 'N' (248 byte, UTF-8) string in events
This commit is contained in:
parent
42b4d3d932
commit
01303d39a2
@ -336,9 +336,9 @@ def create_event(event_name, format, args):
|
||||
'Y' : 'return Util.readGattCharacteristic(data, %u);',
|
||||
'Z' : 'return Util.readGattCharacteristicDescriptor(data, %u);',
|
||||
'T' : 'int offset = %u; \n return Util.getText(data, offset, getPayloadLen()-offset);',
|
||||
'N' : 'return Util.getText(data, %u, 248);',
|
||||
# 'D' : 'Util.storeBytes(data, %u, 8);',
|
||||
# 'E' : 'Util.storeBytes(data, %u, 240);',
|
||||
# 'N' : 'Util.storeString(data, %u, 248);',
|
||||
# 'P' : 'Util.storeBytes(data, %u, 16);',
|
||||
# 'A' : 'Util.storeBytes(data, %u, 31);',
|
||||
# 'S' : 'Util.storeBytes(data, %u);'
|
||||
|
Loading…
x
Reference in New Issue
Block a user