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 #include <stdint.h>
10 
11 /* OTS commands */
12 #define BTP_OTS_READ_SUPPORTED_COMMANDS	0x01
13 struct btp_ots_read_supported_commands_rp {
14 	uint8_t data[0];
15 } __packed;
16 
17 #define BTP_OTS_REGISTER_OBJECT_FLAGS_SKIP_UNSUPPORTED_PROPS 0x01
18 
19 #define BTP_OTS_REGISTER_OBJECT	0x02
20 struct btp_ots_register_object_cmd {
21 	uint8_t flags;
22 	uint32_t ots_props;
23 	uint32_t alloc_size;
24 	uint32_t current_size;
25 	uint8_t name_len;
26 	uint8_t name[0];
27 } __packed;
28 struct btp_ots_register_object_rp {
29 	uint64_t object_id;
30 } __packed;
31