1 /* btp_tmap.h - Bluetooth tester headers */ 2 3 /* 4 * Copyright (c) 2024 Codecoup 5 * 6 * SPDX-License-Identifier: Apache-2.0 7 */ 8 #include <zephyr/types.h> 9 10 /* TMAP commands */ 11 #define BTP_TMAP_READ_SUPPORTED_COMMANDS 0x01 12 struct btp_tmap_read_supported_commands_rp { 13 uint8_t data[0]; 14 } __packed; 15 16 #define BTP_TMAP_DISCOVER 0x02 17 struct btp_tmap_discover_cmd { 18 bt_addr_le_t address; 19 } __packed; 20 21 #define BT_TMAP_EV_DISCOVERY_COMPLETE 0x80 22 struct btp_tmap_discovery_complete_ev { 23 bt_addr_le_t address; 24 uint8_t status; 25 uint16_t role; 26 } __packed; 27