diff options
author | Damien George <damien@micropython.org> | 2022-07-15 11:23:23 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-07-20 17:01:37 +1000 |
commit | bdad63eda2ddcf8cc6ac51bb463ecb695f12c86c (patch) | |
tree | 3073c8527289be890482961f54590044dc741d04 /extmod/btstack/btstack_hci_uart.c | |
parent | b41cfea02ab9f566785da5e5e0863d009f3ac527 (diff) | |
download | micropython-bdad63eda2ddcf8cc6ac51bb463ecb695f12c86c.tar.gz micropython-bdad63eda2ddcf8cc6ac51bb463ecb695f12c86c.zip |
extmod/btstack: Fix descriptor discovery handle range and events.
This fixes two problems with the BTstack implementation of descriptor
discovery:
- The call to gatt_client_discover_characteristic_descriptors needs to have
value_handle set to the starting handle (actually characteristic handle)
to start the search from.
- The BTstack event for a descriptor query result is
GATT_EVENT_ALL_CHARACTERISTIC_DESCRIPTORS_QUERY_RESULT.
With this change the test tests/multi_bluetooth/ble_subscribe.py now passes
when BTstack is instance1 (for BTstack to pass as instance0 requires
gatts_write to support sending an update on BTstack).
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'extmod/btstack/btstack_hci_uart.c')
0 files changed, 0 insertions, 0 deletions