circuitpython/extmod/btstack
Damien George bdad63eda2 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>
2022-07-20 17:01:37 +10:00
..
btstack_config.h extmod/modbluetooth: Refactor stack/hci/driver/port bindings. 2020-09-08 11:41:31 +10:00
btstack_hci_uart.c extmod/btstack: Add missing call to mp_bluetooth_hci_uart_deinit. 2021-06-23 13:14:26 +10:00
btstack_hci_uart.h extmod/modbluetooth: Refactor stack/hci/driver/port bindings. 2020-09-08 11:41:31 +10:00
btstack.mk extmod/btstack/btstack.mk: Use -Wno-implicit-fallthrough, not =0. 2021-07-17 23:55:25 +10:00
modbluetooth_btstack.c extmod/btstack: Fix descriptor discovery handle range and events. 2022-07-20 17:01:37 +10:00
modbluetooth_btstack.h extmod/modbluetooth: Refactor stack/hci/driver/port bindings. 2020-09-08 11:41:31 +10:00