diff options
author | Damien George <damien@micropython.org> | 2022-09-08 12:51:19 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-10-22 14:28:25 +1100 |
commit | 67f98ba10c3d894e737f275f0a508b7ccf4f1807 (patch) | |
tree | dbd68c43fc3f5ad4564bd3e6a3c19bc983a5d8d2 /extmod/btstack/btstack_hci_uart.c | |
parent | 4f946ba963b452cb79524225e0a88134921f2ebb (diff) |
extmod/btstack: Update BTstack bindings to work with latest BTstack.
The following multi-tests pass (eg with PYBD_SF6+LEGO_HUB_NO6):
ble_gap_advertise.py
ble_gap_connect.py
ble_gap_device_name.py
ble_gattc_discover_services.py
ble_gatt_data_transfer.py
perf_gatt_char_write.py
perf_gatt_notify.py
stress_log_filesystem.py
These are the same tests that passed prior to this BTstack update.
Also tested on the unix port using H4 transport.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'extmod/btstack/btstack_hci_uart.c')
-rw-r--r-- | extmod/btstack/btstack_hci_uart.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/extmod/btstack/btstack_hci_uart.c b/extmod/btstack/btstack_hci_uart.c index 83e865b71..f945efc76 100644 --- a/extmod/btstack/btstack_hci_uart.c +++ b/extmod/btstack/btstack_hci_uart.c @@ -159,6 +159,12 @@ const btstack_uart_block_t mp_bluetooth_btstack_hci_uart_block = { &btstack_uart_get_supported_sleep_modes, &btstack_uart_set_sleep, &btstack_uart_set_wakeup_handler, + + // The following are needed for H5 mode only. + NULL, // set_frame_received + NULL, // set_frame_sent, + NULL, // receive_frame, + NULL, // send_frame, }; void mp_bluetooth_btstack_hci_uart_process(void) { |