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/bluetooth/audio/csip.h>
11 #include <zephyr/bluetooth/conn.h>
12 #include <zephyr/fff.h>
13 #include <zephyr/bluetooth/audio/cap.h>
14 
15 extern const struct bt_cap_commander_cb mock_cap_commander_cb;
16 
17 void mock_cap_commander_init(void);
18 void mock_cap_commander_cleanup(void);
19 
20 DECLARE_FAKE_VOID_FUNC(mock_cap_commander_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_commander_volume_changed_cb, struct bt_conn *, int);
24 DECLARE_FAKE_VOID_FUNC(mock_cap_commander_volume_mute_changed_cb, struct bt_conn *, int);
25 DECLARE_FAKE_VOID_FUNC(mock_cap_commander_volume_offset_changed_cb, struct bt_conn *, int);
26 DECLARE_FAKE_VOID_FUNC(mock_cap_commander_microphone_mute_changed_cb, struct bt_conn *, int);
27 DECLARE_FAKE_VOID_FUNC(mock_cap_commander_microphone_gain_changed_cb, struct bt_conn *, int);
28 DECLARE_FAKE_VOID_FUNC(mock_cap_commander_broadcast_reception_start_cb, struct bt_conn *, int);
29 DECLARE_FAKE_VOID_FUNC(mock_cap_commander_broadcast_reception_stop_cb, struct bt_conn *, int);
30 DECLARE_FAKE_VOID_FUNC(mock_cap_commander_distribute_broadcast_code_cb, struct bt_conn *, int);
31 
32 #endif /* MOCKS_CAP_COMMANDER_H_ */
33