Lines Matching +full:prop +full:- +full:2
2 * Copyright (c) 2020-2022 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
60 /* 16-bit UUID value */
63 /* 128-bit UUID value */
76 /** Bit 2 Reading this object is permitted */
77 BT_OTS_OBJ_PROP_READ = 2,
104 * @param prop Object properties.
106 #define BT_OTS_OBJ_SET_PROP_DELETE(prop) \ argument
107 WRITE_BIT(prop, BT_OTS_OBJ_PROP_DELETE, 1)
111 * @param prop Object properties.
113 #define BT_OTS_OBJ_SET_PROP_EXECUTE(prop) \ argument
114 WRITE_BIT(prop, BT_OTS_OBJ_PROP_EXECUTE, 1)
118 * @param prop Object properties.
120 #define BT_OTS_OBJ_SET_PROP_READ(prop) \ argument
121 WRITE_BIT(prop, BT_OTS_OBJ_PROP_READ, 1)
125 * @param prop Object properties.
127 #define BT_OTS_OBJ_SET_PROP_WRITE(prop) \ argument
128 WRITE_BIT(prop, BT_OTS_OBJ_PROP_WRITE, 1)
132 * @param prop Object properties.
134 #define BT_OTS_OBJ_SET_PROP_APPEND(prop) \ argument
135 WRITE_BIT(prop, BT_OTS_OBJ_PROP_APPEND, 1)
139 * @param prop Object properties.
141 #define BT_OTS_OBJ_SET_PROP_TRUNCATE(prop) \ argument
142 WRITE_BIT(prop, BT_OTS_OBJ_PROP_TRUNCATE, 1)
146 * @param prop Object properties.
148 #define BT_OTS_OBJ_SET_PROP_PATCH(prop) \ argument
149 WRITE_BIT(prop, BT_OTS_OBJ_PROP_PATCH, 1)
153 * @param prop Object properties.
155 #define BT_OTS_OBJ_SET_PROP_MARKED(prop) \ argument
156 WRITE_BIT(prop, BT_OTS_OBJ_PROP_MARKED, 1)
160 * @param prop Object properties.
162 #define BT_OTS_OBJ_GET_PROP_DELETE(prop) \ argument
163 ((prop) & BIT(BT_OTS_OBJ_PROP_DELETE))
167 * @param prop Object properties.
169 #define BT_OTS_OBJ_GET_PROP_EXECUTE(prop) \ argument
170 ((prop) & BIT(BT_OTS_OBJ_PROP_EXECUTE))
174 * @param prop Object properties.
176 #define BT_OTS_OBJ_GET_PROP_READ(prop) \ argument
177 ((prop) & BIT(BT_OTS_OBJ_PROP_READ))
181 * @param prop Object properties.
183 #define BT_OTS_OBJ_GET_PROP_WRITE(prop) \ argument
184 ((prop) & BIT(BT_OTS_OBJ_PROP_WRITE))
188 * @param prop Object properties.
190 #define BT_OTS_OBJ_GET_PROP_APPEND(prop) \ argument
191 ((prop) & BIT(BT_OTS_OBJ_PROP_APPEND))
195 * @param prop Object properties.
197 #define BT_OTS_OBJ_GET_PROP_TRUNCATE(prop) \ argument
198 ((prop) & BIT(BT_OTS_OBJ_PROP_TRUNCATE))
202 * @param prop Object properties.
204 #define BT_OTS_OBJ_GET_PROP_PATCH(prop) \ argument
205 ((prop) & BIT(BT_OTS_OBJ_PROP_PATCH))
209 * @param prop Object properties.
211 #define BT_OTS_OBJ_GET_PROP_MARKED(prop) \ argument
212 ((prop) & BIT(BT_OTS_OBJ_PROP_MARKED))
231 /** Bit 2 OACP Calculate Checksum Op Code Supported */
232 BT_OTS_OACP_FEAT_CHECKSUM = 2,
413 /** Bit 2 OLCP Request Number of Objects Op Code Supported */
414 BT_OTS_OLCP_FEAT_NUM_REQ = 2,
492 BT_OTS_METADATA_REQ_SIZE = BIT(2),
619 * @return -ENOTSUP if object type is not supported
620 * @return -ENOMEM if no available space for new object.
621 * @return -EINVAL if an invalid parameter is provided
643 * @return -EBUSY if the object is locked. This is generally not expected
707 * of bytes written does not match len, -EIO is returned to
710 * @return -EINPROGRESS has a special meaning and is unsupported at
1138 id[5], id[4], id[3], id[2], id[1], id[0]); in bt_ots_obj_id_to_str()