1 /* btp_csis.h - Bluetooth tester headers */
2 
3 /*
4  * Copyright (c) 2023 Oticon
5  *
6  * SPDX-License-Identifier: Apache-2.0
7  */
8 #include <zephyr/bluetooth/audio/csip.h>
9 
10 /* CSIS commands */
11 #define BTP_CSIS_READ_SUPPORTED_COMMANDS	0x01
12 struct btp_csis_read_supported_commands_rp {
13 	uint8_t data[0];
14 } __packed;
15 
16 #define BTP_CSIS_SET_MEMBER_LOCK		0x02
17 struct btp_csis_set_member_lock_cmd {
18 	bt_addr_le_t address;
19 	uint8_t lock;
20 	uint8_t force;
21 } __packed;
22 
23 #define BTP_CSIS_GET_MEMBER_RSI			0x03
24 struct btp_csis_get_member_rsi_cmd {
25 	bt_addr_le_t address;
26 } __packed;
27 
28 struct btp_csis_get_member_rsi_rp {
29 	uint8_t rsi[BT_CSIP_RSI_SIZE];
30 } __packed;
31