1 /* btp_mcs.h - Bluetooth tester headers */ 2 3 /* 4 * Copyright (c) 2023 Codecoup 5 * 6 * SPDX-License-Identifier: Apache-2.0 7 */ 8 #include <zephyr/bluetooth/services/ots.h> 9 10 /* MCS commands */ 11 #define BTP_MCS_READ_SUPPORTED_COMMANDS 0x01 12 struct btp_mcs_read_supported_commands_rp { 13 uint8_t data[0]; 14 } __packed; 15 16 #define BTP_MCS_CMD_SEND 0x02 17 struct btp_mcs_send_cmd { 18 uint8_t opcode; 19 uint8_t use_param; 20 int32_t param; 21 } __packed; 22 23 #define BTP_MCS_CURRENT_TRACK_OBJ_ID_GET 0x03 24 struct btp_mcs_current_track_obj_id_rp { 25 uint8_t id[BT_OTS_OBJ_ID_SIZE]; 26 } __packed; 27 28 #define BTP_MCS_NEXT_TRACK_OBJ_ID_GET 0x04 29 struct btp_mcs_next_track_obj_id_rp { 30 uint8_t id[BT_OTS_OBJ_ID_SIZE]; 31 } __packed; 32 33 #define BTP_MCS_INACTIVE_STATE_SET 0x05 34 struct btp_mcs_state_set_rp { 35 uint8_t state; 36 } __packed; 37 38 #define BTP_MCS_PARENT_GROUP_SET 0x06 39