summaryrefslogtreecommitdiffstatshomepage
path: root/tests/multi_bluetooth/ble_irq_calls.py
Commit message (Collapse)AuthorAge
* tests/multi_bluetooth/ble_irq_calls.py: Enhance test to test recursion.Damien George2024-02-16
| | | | Signed-off-by: Damien George <damien@micropython.org>
* extmod/btstack: Reset pending_value_handle before calling read-done cb.Damien George2024-02-12
| | | | | | | | | | | | | 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>
* extmod/btstack: Reset pending_value_handle before calling write-done cb.Damien George2024-02-09
The pending_value_handle needs to be freed and 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 #13611. Signed-off-by: Damien George <damien@micropython.org>