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