From ec756c4aab15ba62558febf2c290bf66433cb3ce Mon Sep 17 00:00:00 2001 From: Krzysztof Taborowski Date: Tue, 18 Feb 2025 10:12:34 +0100 Subject: [PATCH] pal: remove not implemented callbacks Remove not implemented Signed-off-by: Krzysztof Taborowski --- subsys/sal/sid_pal/src/sid_ble_adapter.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/subsys/sal/sid_pal/src/sid_ble_adapter.c b/subsys/sal/sid_pal/src/sid_ble_adapter.c index f8d8553c1..e4967ce88 100644 --- a/subsys/sal/sid_pal/src/sid_ble_adapter.c +++ b/subsys/sal/sid_pal/src/sid_ble_adapter.c @@ -48,13 +48,9 @@ static sid_error_t ble_adapter_deinit(void); static sid_error_t ble_adapter_get_rssi(int8_t *rssi); static sid_error_t ble_adapter_get_tx_pwr(int8_t *tx_power); static sid_error_t ble_adapter_set_tx_pwr(int8_t tx_power); -static sid_error_t ble_adapter_user_config(sid_ble_user_config_t *cfg); -static void ble_adapter_received_data_result(sid_error_t result); -static void ble_adapter_notify_ama_state(bool is_active); static struct sid_pal_ble_adapter_interface ble_ifc = { .init = ble_adapter_init, - .user_config = ble_adapter_user_config, .start_service = ble_adapter_start_service, .set_adv_data = ble_adapter_set_adv_data, .start_adv = ble_adapter_start_advertisement, @@ -66,8 +62,6 @@ static struct sid_pal_ble_adapter_interface ble_ifc = { .get_rssi = ble_adapter_get_rssi, .get_tx_pwr = ble_adapter_get_tx_pwr, .set_tx_pwr = ble_adapter_set_tx_pwr, - .received_data_result = ble_adapter_received_data_result, - .notify_ama_state = ble_adapter_notify_ama_state, }; @@ -467,19 +461,3 @@ sid_error_t sid_pal_ble_adapter_create(sid_pal_ble_adapter_interface_t *handle) return SID_ERROR_NONE; } - -static sid_error_t ble_adapter_user_config(sid_ble_user_config_t *cfg) -{ - LOG_WRN("Not implemented %s", __func__); - return SID_ERROR_NONE; -} -static void ble_adapter_received_data_result(sid_error_t result) -{ - LOG_WRN("Not implemented %s", __func__); - LOG_INF("result %d", result); -} -static void ble_adapter_notify_ama_state(bool is_active) -{ - LOG_WRN("Not implemented %s", __func__); - LOG_INF("active %s", is_active ? "yes" : "no"); -}