1 /* bttester.h - Bluetooth tester headers */ 2 3 /* 4 * Copyright (c) 2015-2016 Intel Corporation 5 * Copyright (c) 2022 Codecoup 6 * 7 * SPDX-License-Identifier: Apache-2.0 8 */ 9 10 #include <zephyr/sys/util.h> 11 #include <zephyr/bluetooth/addr.h> 12 13 /* Core Service */ 14 #define BTP_CORE_READ_SUPPORTED_COMMANDS 0x01 15 struct btp_core_read_supported_commands_rp { 16 uint8_t data[0]; 17 } __packed; 18 19 #define BTP_CORE_READ_SUPPORTED_SERVICES 0x02 20 struct btp_core_read_supported_services_rp { 21 uint8_t data[0]; 22 } __packed; 23 24 #define BTP_CORE_REGISTER_SERVICE 0x03 25 struct btp_core_register_service_cmd { 26 uint8_t id; 27 } __packed; 28 29 #define BTP_CORE_UNREGISTER_SERVICE 0x04 30 struct btp_core_unregister_service_cmd { 31 uint8_t id; 32 } __packed; 33 34 /* events */ 35 #define BTP_CORE_EV_IUT_READY 0x80 36