/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_observation.h | 45 sys_slist_t *lwm2m_path_list, 63 void lwm2m_engine_path_list_init(sys_slist_t *lwm2m_path_list, sys_slist_t *lwm2m_free_list, 74 int lwm2m_engine_add_path_to_list(sys_slist_t *lwm2m_path_list, sys_slist_t *lwm2m_free_list, 89 void lwm2m_engine_clear_duplicate_path(sys_slist_t *lwm2m_path_list, sys_slist_t *lwm2m_free_list);
|
D | lwm2m_observation.c | 533 static int engine_path_list_size(sys_slist_t *lwm2m_path_list) in engine_path_list_size() argument 538 SYS_SLIST_FOR_EACH_CONTAINER(lwm2m_path_list, entry, node) { in engine_path_list_size() 546 sys_slist_t *lwm2m_path_list, in engine_observe_node_discover() argument 552 if (lwm2m_path_list) { in engine_observe_node_discover() 553 path_list_size = engine_path_list_size(lwm2m_path_list); in engine_observe_node_discover() 560 if (lwm2m_path_list) { in engine_observe_node_discover() 569 if (!engine_compare_obs_path_list(&obs->path_list, lwm2m_path_list, in engine_observe_node_discover() 592 sys_slist_t lwm2m_path_list; in engine_add_observer() local 608 sys_slist_init(&lwm2m_path_list); in engine_add_observer() 609 sys_slist_append(&lwm2m_path_list, &obs_path_list_buf.node); in engine_add_observer() [all …]
|
D | lwm2m_rw_senml_cbor.h | 22 sys_slist_t *lwm2m_path_list, 25 int do_send_op_senml_cbor(struct lwm2m_message *msg, sys_slist_t *lwm2m_path_list);
|
D | lwm2m_rw_senml_json.h | 21 int do_send_op_senml_json(struct lwm2m_message *msg, sys_slist_t *lwm2m_path_list); 29 sys_slist_t *lwm2m_path_list,
|
D | lwm2m_message_handling.h | 65 sys_slist_t *lwm2m_path_list);
|
D | lwm2m_engine.h | 127 uint8_t token_length, sys_slist_t *lwm2m_path_list);
|
D | lwm2m_rw_senml_cbor.c | 835 sys_slist_t *lwm2m_path_list, in parse_composite_read_paths() argument 904 ret = lwm2m_engine_add_path_to_list(lwm2m_path_list, lwm2m_path_free_list, &path); in parse_composite_read_paths() 1044 sys_slist_t *lwm2m_path_list, in do_composite_observe_parse_path_senml_cbor() argument 1053 len = parse_composite_read_paths(msg, lwm2m_path_list, lwm2m_path_free_list); in do_composite_observe_parse_path_senml_cbor() 1064 int do_send_op_senml_cbor(struct lwm2m_message *msg, sys_slist_t *lwm2m_path_list) in do_send_op_senml_cbor() argument 1070 ret = lwm2m_perform_composite_read_op(msg, LWM2M_FORMAT_APP_SENML_CBOR, lwm2m_path_list); in do_send_op_senml_cbor()
|
D | lwm2m_rw_senml_json.c | 1398 sys_slist_t lwm2m_path_list; in do_read_op_senml_json() local 1405 sys_slist_init(&lwm2m_path_list); in do_read_op_senml_json() 1409 sys_slist_append(&lwm2m_path_list, &temp.node); in do_read_op_senml_json() 1559 sys_slist_t *lwm2m_path_list, in json_parse_composite_read_paths() argument 1610 lwm2m_path_list, lwm2m_path_free_list, &path) == 0) { in json_parse_composite_read_paths() 1659 int do_send_op_senml_json(struct lwm2m_message *msg, sys_slist_t *lwm2m_path_list) in do_send_op_senml_json() argument 1667 ret = lwm2m_perform_composite_read_op(msg, LWM2M_FORMAT_APP_SEML_JSON, lwm2m_path_list); in do_send_op_senml_json() 1674 sys_slist_t *lwm2m_path_list, in do_composite_observe_parse_path_senml_json() argument 1682 list_size = json_parse_composite_read_paths(msg, lwm2m_path_list, lwm2m_path_free_list); in do_composite_observe_parse_path_senml_json()
|
D | lwm2m_message_handling.c | 2950 static struct lwm2m_obj_path *lwm2m_read_first_path_ptr(sys_slist_t *lwm2m_path_list) in lwm2m_read_first_path_ptr() argument 2954 entry = (struct lwm2m_obj_path_list *)sys_slist_peek_head(lwm2m_path_list); in lwm2m_read_first_path_ptr() 3023 sys_slist_t *lwm2m_path_list) in do_send_op() argument 3028 return do_send_op_senml_json(msg, lwm2m_path_list); in do_send_op() 3033 return do_send_op_senml_cbor(msg, lwm2m_path_list); in do_send_op() 3228 sys_slist_t *lwm2m_path_list) in lwm2m_perform_composite_read_op() argument 3252 SYS_SLIST_FOR_EACH_CONTAINER(lwm2m_path_list, entry, node) { in lwm2m_perform_composite_read_op() 3485 sys_slist_t *lwm2m_path_list, in init_next_pending_timeseries_data() argument 3498 if (lwm2m_engine_add_path_to_list(lwm2m_path_list, lwm2m_path_free_list, in init_next_pending_timeseries_data() 3527 sys_slist_t lwm2m_path_list; in lwm2m_send_cb() local [all …]
|
D | lwm2m_shell.c | 72 struct lwm2m_obj_path lwm2m_path_list[CONFIG_LWM2M_COMPOSITE_PATH_LIST_SIZE]; in cmd_send() local 92 ret = lwm2m_string_to_path(p, &lwm2m_path_list[i], '/'); in cmd_send() 98 ret = lwm2m_send_cb(ctx, lwm2m_path_list, path_cnt, send_cb); in cmd_send()
|
/Zephyr-latest/tests/net/lib/lwm2m/observation/src/ |
D | lwm2m_observation.c | 46 static void assert_path_list_order(sys_slist_t *lwm2m_path_list) in assert_path_list_order() argument 57 if (sys_slist_is_empty(lwm2m_path_list)) { in assert_path_list_order() 61 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(lwm2m_path_list, entry, tmp, node) { in assert_path_list_order() 222 sys_slist_t lwm2m_path_list; in run_insertion_test() local 226 lwm2m_engine_path_list_init(&lwm2m_path_list, &lwm2m_path_free_list, lwm2m_path_list_buf, in run_insertion_test() 236 ret = lwm2m_engine_add_path_to_list(&lwm2m_path_list, &lwm2m_path_free_list, in run_insertion_test() 241 assert_path_list_order(&lwm2m_path_list); in run_insertion_test() 248 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&lwm2m_path_list, entry, tmp, node) { in run_insertion_test()
|