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