Lines Matching refs:res_id
143 struct lwm2m_engine_obj_field *lwm2m_get_engine_obj_field(struct lwm2m_engine_obj *obj, int res_id) in lwm2m_get_engine_obj_field() argument
149 if (obj->fields[i].res_id == res_id) { in lwm2m_get_engine_obj_field()
392 of = lwm2m_get_engine_obj_field(oi->obj, path->res_id); in path_to_objs()
394 LOG_ERR("obj field %d not found", path->res_id); in path_to_objs()
399 if (oi->resources[i].res_id == path->res_id) { in path_to_objs()
407 LOG_DBG("resource %d not found", path->res_id); in path_to_objs()
409 LOG_ERR("resource %d not found", path->res_id); in path_to_objs()
554 path->res_id, value, len); in lwm2m_engine_set()
572 "[%u/%u/%u/%u:lvl%u]", path->obj_id, path->obj_inst_id, path->res_id, in lwm2m_engine_set()
584 data_ptr = res->pre_write_cb(obj_inst->obj_inst_id, res->res_id, in lwm2m_engine_set()
590 path->obj_inst_id, path->res_id, path->res_inst_id, path->level); in lwm2m_engine_set()
609 ret = res->validate_cb(obj_inst->obj_inst_id, res->res_id, res_inst->res_inst_id, in lwm2m_engine_set()
663 "[%u/%u/%u/%u:%u]", path->obj_id, path->obj_inst_id, path->res_id, in lwm2m_engine_set()
716 ret = res->post_write_cb(obj_inst->obj_inst_id, res->res_id, res_inst->res_inst_id, in lwm2m_engine_set()
875 path->res_id, path->res_inst_id, path->level, buf, buflen); in lwm2m_engine_get()
897 data_ptr = res->read_cb(obj_inst->obj_inst_id, res->res_id, res_inst->res_inst_id, in lwm2m_engine_get()
1218 LOG_ERR("resource %u not found", path->res_id); in lwm2m_create_res_inst()