Home
last modified time | relevance | path

Searched refs:obj_data (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/samples/bluetooth/peripheral_ots/src/
Dmain.c226 struct object_creation_data obj_data; in ots_init() local
264 (void)memset(&obj_data, 0, sizeof(obj_data)); in ots_init()
269 obj_data.name = objects[0].name; in ots_init()
270 obj_data.size.cur = cur_size; in ots_init()
271 obj_data.size.alloc = alloc_size; in ots_init()
272 BT_OTS_OBJ_SET_PROP_READ(obj_data.props); in ots_init()
273 BT_OTS_OBJ_SET_PROP_WRITE(obj_data.props); in ots_init()
274 BT_OTS_OBJ_SET_PROP_PATCH(obj_data.props); in ots_init()
275 object_being_created = &obj_data; in ots_init()
294 (void)memset(&obj_data, 0, sizeof(obj_data)); in ots_init()
[all …]
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_ots.c70 struct object_creation_data obj_data; in register_object() local
101 (void)memset(&obj_data, 0, sizeof(obj_data)); in register_object()
104 obj_data.object = obj; in register_object()
105 obj_data.size.cur = sys_le32_to_cpu(cp->current_size); in register_object()
106 obj_data.size.alloc = sys_le32_to_cpu(cp->alloc_size); in register_object()
107 obj_data.props = props; in register_object()
112 object_being_created = &obj_data; in register_object()
114 param.size = obj_data.size.alloc; in register_object()
/Zephyr-latest/subsys/bluetooth/services/ots/
Dots_oacp.c173 void *obj_data; in oacp_checksum_proc_validate() local
198 params->len, &obj_data); in oacp_checksum_proc_validate()
203 checksum = bt_ots_client_calc_checksum((const uint8_t *)obj_data, params->len); in oacp_checksum_proc_validate()