/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_obj_device.c | 176 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
|
D | lwm2m_registry.h | 192 struct lwm2m_engine_obj_field *lwm2m_get_engine_obj_field(struct lwm2m_engine_obj *obj, int res_id);
|
D | lwm2m_util.c | 486 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()
|
D | lwm2m_message_handling.c | 495 *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 …]
|
D | lwm2m_shell.c | 617 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()
|
D | lwm2m_rw_senml_cbor.c | 241 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()
|
D | lwm2m_obj_gateway.c | 64 static int prefix_validation_cb(uint16_t obj_inst_id, uint16_t res_id, in prefix_validation_cb() argument
|
D | lwm2m_engine.c | 275 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()
|
D | lwm2m_obj_server.c | 146 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()
|
D | lwm2m_rw_link_format.c | 451 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()
|
D | ipso_temp_sensor.c | 110 static int sensor_value_write_cb(uint16_t obj_inst_id, uint16_t res_id, in sensor_value_write_cb() argument
|
D | ipso_buzzer.c | 147 static int onoff_post_write_cb(uint16_t obj_inst_id, uint16_t res_id, in onoff_post_write_cb() argument
|
D | ipso_current_sensor.c | 112 static int sensor_value_write_cb(uint16_t obj_inst_id, uint16_t res_id, in sensor_value_write_cb() argument
|
D | ipso_humidity_sensor.c | 107 static int sensor_value_write_cb(uint16_t obj_inst_id, uint16_t res_id, in sensor_value_write_cb() argument
|
D | ipso_pressure_sensor.c | 108 static int sensor_value_write_cb(uint16_t obj_inst_id, uint16_t res_id, in sensor_value_write_cb() argument
|
D | ipso_voltage_sensor.c | 113 static int sensor_value_write_cb(uint16_t obj_inst_id, uint16_t res_id, in sensor_value_write_cb() argument
|
D | ipso_generic_sensor.c | 121 static int sensor_value_write_cb(uint16_t obj_inst_id, uint16_t res_id, in sensor_value_write_cb() argument
|
D | lwm2m_obj_access_control.c | 338 static int write_validate_cb(uint16_t obj_inst_id, uint16_t res_id, in write_validate_cb() argument
|
D | lwm2m_rw_json.c | 200 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()
|
D | lwm2m_rw_senml_json.c | 318 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/ |
D | lwm2m_registry.c | 18 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/ |
D | main.c | 105 test_path.res_id = TEST_RES_S8; in context_reset()
|
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_engine/src/ |
D | main.c | 55 lwm2m_get_engine_obj_field_custom_fake(struct lwm2m_engine_obj *obj, int res_id) in lwm2m_get_engine_obj_field_custom_fake() argument
|