1 /* btp_ots.h - Bluetooth OTS tester headers */ 2 3 /* 4 * Copyright (c) 2024 Codecoup 5 * 6 * SPDX-License-Identifier: Apache-2.0 7 */ 8 9 /* OTS commands */ 10 #define BTP_OTS_READ_SUPPORTED_COMMANDS 0x01 11 struct btp_ots_read_supported_commands_rp { 12 uint8_t data[0]; 13 } __packed; 14 15 #define BTP_OTS_REGISTER_OBJECT_FLAGS_SKIP_UNSUPPORTED_PROPS 0x01 16 17 #define BTP_OTS_REGISTER_OBJECT 0x02 18 struct btp_ots_register_object_cmd { 19 uint8_t flags; 20 uint32_t ots_props; 21 uint32_t alloc_size; 22 uint32_t current_size; 23 uint8_t name_len; 24 uint8_t name[0]; 25 } __packed; 26 struct btp_ots_register_object_rp { 27 uint64_t object_id; 28 } __packed; 29