micropython/extmod/btstack
Damien George fbe58553c2 extmod/btstack/btstack_hci_uart: Trigger a poll after UART data is sent.
Prior to this commit, BTstack would only be notified of sent UART data when
the mp_bluetooth_hci_poll() function was called for some other reason, eg
because of incoming data over UART.  This is highly suboptimal.

With this commit, BTstack is now notified immediately after UART data has
been sent out.  This improves the multi_bluetooth/perf_gatt_char_write.py
performance test by about a factor of 10x for write-without-response, and
about 4x for write-with-response (tested on LEGO_HUB_NO6 as instance1).

Signed-off-by: Damien George <damien@micropython.org>
2023-09-29 18:01:42 +10: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: Fix marking of static addresses in set_random_address. 2023-06-14 22:20:20 +10:00
modbluetooth_btstack.h extmod/btstack: Include value handle in client read/write events. 2023-04-26 11:37:20 +10:00