1 /* 2 * Copyright (c) 2023 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef MOCKS_CAP_COMMANDER_H_ 8 #define MOCKS_CAP_COMMANDER_H_ 9 10 #include <zephyr/fff.h> 11 #include <zephyr/bluetooth/audio/cap.h> 12 13 extern const struct bt_cap_commander_cb mock_cap_commander_cb; 14 15 void mock_cap_commander_init(void); 16 void mock_cap_commander_cleanup(void); 17 18 DECLARE_FAKE_VOID_FUNC(mock_cap_commander_discovery_complete_cb, struct bt_conn *, int, 19 const struct bt_csip_set_coordinator_set_member *, 20 const struct bt_csip_set_coordinator_csis_inst *); 21 DECLARE_FAKE_VOID_FUNC(mock_cap_commander_volume_changed_cb, struct bt_conn *, int); 22 DECLARE_FAKE_VOID_FUNC(mock_cap_commander_volume_mute_changed_cb, struct bt_conn *, int); 23 DECLARE_FAKE_VOID_FUNC(mock_cap_commander_volume_offset_changed_cb, struct bt_conn *, int); 24 DECLARE_FAKE_VOID_FUNC(mock_cap_commander_microphone_mute_changed_cb, struct bt_conn *, int); 25 DECLARE_FAKE_VOID_FUNC(mock_cap_commander_microphone_gain_changed_cb, struct bt_conn *, int); 26 DECLARE_FAKE_VOID_FUNC(mock_cap_commander_broadcast_reception_start_cb, struct bt_conn *, int); 27 28 #endif /* MOCKS_CAP_COMMANDER_H_ */ 29