1 /* 2 * Copyright (c) 2023-2024 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef MOCKS_CAP_INITIATOR_H_ 8 #define MOCKS_CAP_INITIATOR_H_ 9 10 #include <zephyr/bluetooth/audio/cap.h> 11 #include <zephyr/bluetooth/audio/csip.h> 12 #include <zephyr/bluetooth/bluetooth.h> 13 #include <zephyr/fff.h> 14 15 extern const struct bt_cap_initiator_cb mock_cap_initiator_cb; 16 17 void mock_cap_initiator_init(void); 18 void mock_cap_initiator_cleanup(void); 19 20 DECLARE_FAKE_VOID_FUNC(mock_cap_initiator_unicast_discovery_complete_cb, struct bt_conn *, int, 21 const struct bt_csip_set_coordinator_set_member *, 22 const struct bt_csip_set_coordinator_csis_inst *); 23 DECLARE_FAKE_VOID_FUNC(mock_cap_initiator_unicast_start_complete_cb, int, struct bt_conn *); 24 DECLARE_FAKE_VOID_FUNC(mock_cap_initiator_unicast_update_complete_cb, int, struct bt_conn *); 25 DECLARE_FAKE_VOID_FUNC(mock_cap_initiator_unicast_stop_complete_cb, int, struct bt_conn *); 26 DECLARE_FAKE_VOID_FUNC(mock_cap_initiator_broadcast_started_cb, struct bt_cap_broadcast_source *); 27 DECLARE_FAKE_VOID_FUNC(mock_cap_initiator_broadcast_stopped_cb, struct bt_cap_broadcast_source *, 28 uint8_t); 29 30 #endif /* MOCKS_CAP_INITIATOR_H_ */ 31