micropython/extmod/btstack
Damien George 02df2b09d4 extmod/btstack: Reset pending_value_handle before calling read-done cb.
Similar to the previous commit but for MP_BLUETOOTH_IRQ_GATTC_READ_DONE:
the pending_value_handle needs to be reset before calling
mp_bluetooth_gattc_on_read_write_status(), which will call the Python IRQ
handler, which may in turn call back into BTstack to perform an action like
a write.  In that case the pending_value_handle will need to be available
for the write/read/etc to proceed.

Fixes issue #13634.

Signed-off-by: Damien George <damien@micropython.org>
2024-02-16 10:50:43 +11:00
..
btstack.cmake extmod/btstack: Add cmake support for BTstack. 2023-06-14 22:20:20 +10:00
btstack.mk extmod/btstack: Switch to use hci_dump_init instead of hci_dump_open. 2023-04-22 00:39:31 +10:00
btstack_config.h extmod/btstack: Allow the BTstack config to be overridden by a board. 2022-11-11 15:14:14 +11:00
btstack_config_common.h extmod/btstack: Switch to use hci_dump_init instead of hci_dump_open. 2023-04-22 00:39:31 +10:00
btstack_hci_uart.c extmod/btstack/btstack_hci_uart: Trigger a poll after UART data is sent. 2023-09-29 18:01:42 +10:00
btstack_hci_uart.h extmod/btstack: Update BTstack bindings to work with latest BTstack. 2022-10-22 14:28:25 +11:00
modbluetooth_btstack.c extmod/btstack: Reset pending_value_handle before calling read-done cb. 2024-02-16 10:50:43 +11:00
modbluetooth_btstack.h extmod/btstack: Include value handle in client read/write events. 2023-04-26 11:37:20 +10:00