Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/subsys/net/lib/lwm2m/
Dlwm2m_shell.c506 struct lwm2m_obj_path obj_path; in cmd_cache() local
514 rc = lwm2m_string_to_path(argv[1], &obj_path, '/'); in cmd_cache()
519 if (obj_path.level < 3) { in cmd_cache()
524 if (lwm2m_cache_entry_get_by_object(&obj_path)) { in cmd_cache()
541 rc = lwm2m_enable_cache(&obj_path, cache, elems); in cmd_cache()
544 obj_path.obj_id, obj_path.obj_inst_id, obj_path.res_id, in cmd_cache()
545 obj_path.res_inst_id, cache, elems, rc); in cmd_cache()
Dlwm2m_obj_swmgmt.c208 struct lwm2m_obj_path obj_path = LWM2M_OBJ(LWM2M_OBJECT_SOFTWARE_MANAGEMENT_ID, in set_sw_update_state() local
212 ret = lwm2m_set_u8(obj_path, state); in set_sw_update_state()
221 struct lwm2m_obj_path obj_path = LWM2M_OBJ(LWM2M_OBJECT_SOFTWARE_MANAGEMENT_ID, in set_sw_update_result() local
225 ret = lwm2m_set_u8(&obj_path, result); in set_sw_update_result()
234 struct lwm2m_obj_path obj_path = LWM2M_OBJ(LWM2M_OBJECT_SOFTWARE_MANAGEMENT_ID, in set_sw_update_act_state() local
238 ret = lwm2m_set_bool(&obj_path, state); in set_sw_update_act_state()
Dlwm2m_registry.h247 lwm2m_cache_entry_get_by_object(const struct lwm2m_obj_path *obj_path);
Dlwm2m_registry.c2055 lwm2m_cache_entry_get_by_object(const struct lwm2m_obj_path *obj_path) in lwm2m_cache_entry_get_by_object() argument
2060 if (obj_path->level < LWM2M_PATH_LEVEL_RESOURCE) { in lwm2m_cache_entry_get_by_object()
2061 LOG_ERR("Path level wrong for cache %u", obj_path->level); in lwm2m_cache_entry_get_by_object()
2070 if (lwm2m_obj_path_equal(&entry->path, obj_path)) { in lwm2m_cache_entry_get_by_object()