Home
last modified time | relevance | path

Searched refs:res_id (Results 26 – 48 of 48) sorted by relevance

12

/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_obj_device.c176 static void *current_time_read_cb(uint16_t obj_inst_id, uint16_t res_id, in current_time_read_cb() argument
185 static void *current_time_pre_write_cb(uint16_t obj_inst_id, uint16_t res_id, in current_time_pre_write_cb() argument
192 static int current_time_post_write_cb(uint16_t obj_inst_id, uint16_t res_id, in current_time_post_write_cb() argument
Dlwm2m_registry.h192 struct lwm2m_engine_obj_field *lwm2m_get_engine_obj_field(struct lwm2m_engine_obj *obj, int res_id);
Dlwm2m_util.c486 path->res_id = value; in lwm2m_string_to_path()
521 if (level >= LWM2M_PATH_LEVEL_RESOURCE && (a->res_id != b->res_id)) { in lwm2m_obj_path_equal()
Dlwm2m_message_handling.c495 *id[4] = {&path->obj_id, &path->obj_inst_id, &path->res_id, &path->res_inst_id}; in coap_options_to_path()
1033 ret = res->validate_cb(obj_inst->obj_inst_id, res->res_id, in lwm2m_write_handler_opaque()
1048 obj_inst->obj_inst_id, res->res_id, res_inst->res_inst_id, data_ptr, in lwm2m_write_handler_opaque()
1098 data_ptr = res->pre_write_cb(obj_inst->obj_inst_id, res->res_id, in lwm2m_write_handler()
1267 ret = res->validate_cb(obj_inst->obj_inst_id, res->res_id, in lwm2m_write_handler()
1290 ret = res->post_write_cb(obj_inst->obj_inst_id, res->res_id, in lwm2m_write_handler()
1507 temp_path.res_id = obj_field->res_id; in lwm2m_read_handler()
1564 res->read_cb(obj_inst->obj_inst_id, res->res_id, in lwm2m_read_handler()
1722 msg->path.res_id != obj_inst->resources[index].res_id) { in lwm2m_perform_read_object_instance()
1727 msg->path.res_id = res->res_id; in lwm2m_perform_read_object_instance()
[all …]
Dlwm2m_shell.c617 obj_path.obj_id, obj_path.obj_inst_id, obj_path.res_id, in cmd_cache()
735 lwm2m_get_engine_obj_field(obj, re->res_id); in print_object_instance()
744 oi->obj_inst_id, re->res_id, ri->res_inst_id); in print_object_instance()
747 oi->obj_inst_id, re->res_id); in print_object_instance()
Dlwm2m_rw_senml_cbor.c241 len = snprintk(name, sizeof("65535"), "%" PRIu16 "", path->res_id); in put_begin_r()
317 path->res_id, path->res_inst_id); in put_begin_ri()
970 msg->path.res_id = msg->in.block_ctx->path.res_id; in do_write_op_senml_cbor()
1106 w = snprintk(&(buf[fpl]), buf_size - fpl, "%" PRIu16 "", input->res_id); in path_to_string()
Dlwm2m_obj_gateway.c64 static int prefix_validation_cb(uint16_t obj_inst_id, uint16_t res_id, in prefix_validation_cb() argument
Dlwm2m_engine.c275 o_f = lwm2m_get_engine_obj_field(obj_inst->obj, msg->path.res_id); in lwm2m_engine_validate_write_access()
943 static int load_tls_type(struct lwm2m_ctx *client_ctx, uint16_t res_id, in load_tls_type() argument
951 ret = lwm2m_get_res_buf(&LWM2M_OBJ(0, client_ctx->sec_obj_inst, res_id), &cred, &max_len, in load_tls_type()
955 res_id); in load_tls_type()
Dlwm2m_obj_server.c146 static int lifetime_write_cb(uint16_t obj_inst_id, uint16_t res_id, in lifetime_write_cb() argument
152 ARG_UNUSED(res_id); in lifetime_write_cb()
Dlwm2m_rw_link_format.c451 path->obj_inst_id, path->res_id); in put_res_corelink()
517 path->obj_inst_id, path->res_id, path->res_inst_id); in put_res_inst_corelink()
Dipso_temp_sensor.c110 static int sensor_value_write_cb(uint16_t obj_inst_id, uint16_t res_id, in sensor_value_write_cb() argument
Dipso_buzzer.c147 static int onoff_post_write_cb(uint16_t obj_inst_id, uint16_t res_id, in onoff_post_write_cb() argument
Dipso_current_sensor.c112 static int sensor_value_write_cb(uint16_t obj_inst_id, uint16_t res_id, in sensor_value_write_cb() argument
Dipso_humidity_sensor.c107 static int sensor_value_write_cb(uint16_t obj_inst_id, uint16_t res_id, in sensor_value_write_cb() argument
Dipso_pressure_sensor.c108 static int sensor_value_write_cb(uint16_t obj_inst_id, uint16_t res_id, in sensor_value_write_cb() argument
Dipso_voltage_sensor.c113 static int sensor_value_write_cb(uint16_t obj_inst_id, uint16_t res_id, in sensor_value_write_cb() argument
Dipso_generic_sensor.c121 static int sensor_value_write_cb(uint16_t obj_inst_id, uint16_t res_id, in sensor_value_write_cb() argument
Dlwm2m_obj_access_control.c338 static int write_validate_cb(uint16_t obj_inst_id, uint16_t res_id, in write_validate_cb() argument
Dlwm2m_rw_json.c200 ret = snprintk(fd->name_string, sizeof(fd->name_string), "%u/%u", path->res_id, in init_object_name_parameters()
203 ret = snprintk(fd->name_string, sizeof(fd->name_string), "%u", path->res_id); in init_object_name_parameters()
Dlwm2m_rw_senml_json.c318 ret = snprintk(fd->name_string, sizeof(fd->name_string), "%u/%u", path->res_id, in init_object_name_parameters()
321 ret = snprintk(fd->name_string, sizeof(fd->name_string), "%u", path->res_id); in init_object_name_parameters()
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_registry/src/
Dlwm2m_registry.c18 uint16_t res_id, in pre_write_cb() argument
26 static int post_write_cb(uint16_t obj_inst_id, uint16_t res_id, in post_write_cb() argument
36 uint16_t res_id, in read_cb() argument
44 static int validate_cb(uint16_t obj_inst_id, uint16_t res_id, in validate_cb() argument
/Zephyr-latest/tests/net/lib/lwm2m/content_link_format/src/
Dmain.c105 test_path.res_id = TEST_RES_S8; in context_reset()
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_engine/src/
Dmain.c55 lwm2m_get_engine_obj_field_custom_fake(struct lwm2m_engine_obj *obj, int res_id) in lwm2m_get_engine_obj_field_custom_fake() argument

12