1 /* btp_cas.h - Bluetooth tester headers */ 2 3 /* 4 * Copyright (c) 2023 Oticon 5 * 6 * SPDX-License-Identifier: Apache-2.0 7 */ 8 9 /* CAS commands */ 10 #define BTP_CAS_READ_SUPPORTED_COMMANDS 0x01 11 struct btp_cas_read_supported_commands_rp { 12 uint8_t data[0]; 13 } __packed; 14 15 #define BTP_CAS_SET_MEMBER_LOCK 0x02 16 struct btp_cas_set_member_lock_cmd { 17 bt_addr_le_t address; 18 uint8_t lock; 19 uint8_t force; 20 } __packed; 21 22 #define BTP_CAS_GET_MEMBER_RSI 0x03 23 struct btp_cas_get_member_rsi_cmd { 24 bt_addr_le_t address; 25 } __packed; 26 27 struct btp_cas_get_member_rsi_rp { 28 uint8_t rsi[BT_CSIP_RSI_SIZE]; 29 } __packed; 30