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>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user