Home
last modified time | relevance | path

Searched refs:cur_object (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.5.0/subsys/bluetooth/services/ots/
Dots_client.c177 const struct bt_ots_obj_metadata *cur_object = in rx_done() local
178 &cur_inst->otc_inst->cur_object; in rx_done()
186 if (cur_inst->rcvd_size >= cur_object->size.cur) { in rx_done()
190 if (cur_inst->rcvd_size > cur_object->size.cur) { in rx_done()
192 cur_object->size.cur); in rx_done()
200 const uint32_t rcv_size = cur_object->size.cur; in rx_done()
212 const uint32_t rcv_size = cur_object->size.cur; in rx_done()
283 memset(&otc_inst->cur_object, 0, sizeof(otc_inst->cur_object)); in on_object_selected()
284 otc_inst->cur_object.id = OTS_CLIENT_UNKNOWN_ID; in on_object_selected()
634 otc_inst->cur_object.id = obj_id; in bt_ots_client_select_id()
[all …]
/Zephyr-Core-3.5.0/samples/bluetooth/central_otc/src/
Dmain.c134 if (BT_OTS_OBJ_GET_PROP_WRITE(otc.cur_object.props)) { in otc_btn_work_fn()
135 size_to_write = MIN(OBJ_MAX_SIZE, otc.cur_object.size.alloc); in otc_btn_work_fn()
155 if (BT_OTS_OBJ_GET_PROP_READ(otc.cur_object.props)) { in otc_btn_work_fn()
591 otc_checksum_work.len = otc.cur_object.size.cur; in on_obj_data_read()
603 printk("\tCurrent size\t:%u", ots_inst->cur_object.size.cur); in on_obj_metadata_read()
604 printk("\tAlloc size\t:%u\n", ots_inst->cur_object.size.alloc); in on_obj_metadata_read()
606 if (ots_inst->cur_object.size.cur > OBJ_MAX_SIZE) { in on_obj_metadata_read()
610 bt_ots_metadata_display(&ots_inst->cur_object, 1); in on_obj_metadata_read()
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/services/
Dots.h844 struct bt_ots_obj_metadata cur_object; member
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/
Dmcc.c3413 LOG_INF("\tCurrent size\t:%u", otc_inst->cur_object.size.cur); in on_object_metadata()
3415 if (otc_inst->cur_object.size.cur > otc_obj_buf.size) { in on_object_metadata()
3419 bt_ots_metadata_display(&otc_inst->cur_object, 1); in on_object_metadata()