From 886597f223e2ede21f3f66677a7734a227d930fc Mon Sep 17 00:00:00 2001 From: Andrzej Kaczmarek Date: Tue, 6 Sep 2022 11:36:22 +0200 Subject: [PATCH] babblesim: Fix EDTT transport nad target --- babblesim/edtt/hci_transport/src/ble_hci_edtt.c | 10 ++++++++-- babblesim/targets/edtthci/syscfg.yml | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/babblesim/edtt/hci_transport/src/ble_hci_edtt.c b/babblesim/edtt/hci_transport/src/ble_hci_edtt.c index aa70f056a..5f84fa7b4 100644 --- a/babblesim/edtt/hci_transport/src/ble_hci_edtt.c +++ b/babblesim/edtt/hci_transport/src/ble_hci_edtt.c @@ -142,7 +142,7 @@ ble_hci_edtt_cmdevt_tx(uint8_t *hci_ev, uint8_t edtt_type) * A BLE_ERR_[...] error code on failure. */ int -ble_transport_to_hs_evt(void *buf) +ble_transport_to_hs_evt_impl(void *buf) { return ble_hci_edtt_cmdevt_tx(buf, BLE_HCI_EDTT_EVT); } @@ -156,11 +156,17 @@ ble_transport_to_hs_evt(void *buf) * A BLE_ERR_[...] error code on failure. */ int -ble_transport_to_hs_acl(struct os_mbuf *om) +ble_transport_to_hs_acl_impl(struct os_mbuf *om) { return ble_hci_edtt_acl_tx(om); } +void +ble_transport_hs_init(void) +{ + +} + /** * @brief Clean out excess bytes from the input buffer */ diff --git a/babblesim/targets/edtthci/syscfg.yml b/babblesim/targets/edtthci/syscfg.yml index 972659e39..0476ccf36 100644 --- a/babblesim/targets/edtthci/syscfg.yml +++ b/babblesim/targets/edtthci/syscfg.yml @@ -26,6 +26,7 @@ syscfg.vals: EDTT_HCI_LOG_FILE: ("hci_logs") EDTT_HCI_LOGS: 1 + BLE_LL_HCI_VS_EVENT_ON_ASSERT: 0 BLE_LL_CFG_FEAT_LE_ENCRYPTION: 1 BLE_LL_CFG_FEAT_CONN_PARAM_REQ: 1 BLE_LL_CFG_FEAT_SLAVE_INIT_FEAT_XCHG: 1 @@ -47,7 +48,6 @@ syscfg.vals: BLE_ROLE_OBSERVER: 1 BLE_VERSION: 52 - BLE_CONTROLLER: 1 BLE_LL_ROLE_CENTRAL: 1 BLE_LL_ROLE_PERIPHERAL: 1 BLE_LL_ROLE_BROADCASTER: 1