/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_message_handling.h | 45 struct lwm2m_message *lwm2m_get_message(struct lwm2m_ctx *client_ctx); 46 struct lwm2m_message *find_msg(struct coap_pending *pending, struct coap_reply *reply); 47 void lwm2m_reset_message(struct lwm2m_message *msg, bool release); 48 void lm2m_message_clear_allocations(struct lwm2m_message *msg); 49 int lwm2m_init_message(struct lwm2m_message *msg); 50 int lwm2m_send_message_async(struct lwm2m_message *msg); 57 int lwm2m_information_interface_send(struct lwm2m_message *msg); 60 int lwm2m_register_payload_handler(struct lwm2m_message *msg); 62 int lwm2m_perform_read_op(struct lwm2m_message *msg, uint16_t content_format); 64 int lwm2m_perform_composite_read_op(struct lwm2m_message *msg, uint16_t content_format, [all …]
|
D | lwm2m_rw_senml_cbor.h | 15 int do_read_op_senml_cbor(struct lwm2m_message *msg); 16 int do_composite_read_op_senml_cbor(struct lwm2m_message *msg); 17 int do_composite_read_op_for_parsed_path_senml_cbor(struct lwm2m_message *msg, 19 int do_write_op_senml_cbor(struct lwm2m_message *msg); 21 int do_composite_observe_parse_path_senml_cbor(struct lwm2m_message *msg, 25 int do_send_op_senml_cbor(struct lwm2m_message *msg, sys_slist_t *lwm2m_path_list);
|
D | lwm2m_rw_senml_json.h | 16 int do_read_op_senml_json(struct lwm2m_message *msg); 18 int do_write_op_senml_json(struct lwm2m_message *msg); 21 int do_send_op_senml_json(struct lwm2m_message *msg, sys_slist_t *lwm2m_path_list); 23 int do_composite_read_op_senml_json(struct lwm2m_message *msg); 25 int do_composite_read_op_for_parsed_list_senml_json(struct lwm2m_message *msg, 28 int do_composite_observe_parse_path_senml_json(struct lwm2m_message *msg,
|
D | lwm2m_rw_cbor.h | 15 int do_read_op_cbor(struct lwm2m_message *msg); 16 int do_write_op_cbor(struct lwm2m_message *msg);
|
D | lwm2m_rw_json.h | 51 int do_read_op_json(struct lwm2m_message *msg, int content_format); 52 int do_write_op_json(struct lwm2m_message *msg);
|
D | lwm2m_rw_opaque.h | 15 int do_read_op_opaque(struct lwm2m_message *msg, int content_format); 16 int do_write_op_opaque(struct lwm2m_message *msg);
|
D | lwm2m_obj_gateway.h | 43 typedef int (*lwm2m_engine_gateway_msg_cb)(struct lwm2m_message *msg); 58 int lwm2m_gw_handle_req(struct lwm2m_message *msg);
|
D | lwm2m_rw_link_format.h | 26 int do_discover_op_link_format(struct lwm2m_message *msg, bool is_bootstrap); 27 int do_register_op_link_format(struct lwm2m_message *msg);
|
D | lwm2m_rw_oma_tlv.h | 60 int do_read_op_tlv(struct lwm2m_message *msg, int content_format); 61 int do_write_op_tlv(struct lwm2m_message *msg);
|
D | lwm2m_rw_plain_text.h | 60 int do_read_op_plain_text(struct lwm2m_message *msg, int content_format); 61 int do_write_op_plain_text(struct lwm2m_message *msg);
|
D | lwm2m_observation.h | 21 struct lwm2m_message *active_notify; /* Currently active notification */ 50 int lwm2m_write_attr_handler(struct lwm2m_engine_obj *obj, struct lwm2m_message *msg); 52 int lwm2m_engine_observation_handler(struct lwm2m_message *msg, int observe, uint16_t accept,
|
D | lwm2m_engine.h | 103 int lwm2m_engine_validate_write_access(struct lwm2m_message *msg, 126 int lwm2m_perform_composite_observation_op(struct lwm2m_message *msg, uint8_t *token, 146 int bootstrap_delete(struct lwm2m_message *msg);
|
D | lwm2m_message_handling.c | 85 static struct lwm2m_message messages[CONFIG_LWM2M_ENGINE_MAX_MESSAGES]; 87 static struct lwm2m_message *ongoing_block2_tx; 104 static int handle_request(struct coap_packet *request, struct lwm2m_message *msg); 106 STATIC int build_msg_block_for_send(struct lwm2m_message *msg, uint16_t block_num, 283 STATIC int build_msg_block_for_send(struct lwm2m_message *msg, uint16_t block_num, in build_msg_block_for_send() 392 STATIC int prepare_msg_for_send(struct lwm2m_message *msg) in prepare_msg_for_send() 448 struct lwm2m_message *msg; in lwm2m_engine_context_close() 510 struct lwm2m_message *find_msg(struct coap_pending *pending, struct coap_reply *reply) in find_msg() 513 struct lwm2m_message *msg; in find_msg() 543 struct lwm2m_message *lwm2m_get_message(struct lwm2m_ctx *client_ctx) in lwm2m_get_message() [all …]
|
D | lwm2m_rd_client.h | 57 struct lwm2m_message *lwm2m_get_ongoing_rd_msg(void);
|
D | lwm2m_rw_opaque.c | 120 int do_read_op_opaque(struct lwm2m_message *msg, int content_format) in do_read_op_opaque() 136 int do_write_op_opaque(struct lwm2m_message *msg) in do_write_op_opaque()
|
D | lwm2m_rw_senml_cbor.c | 93 static void setup_out_fmt_data(struct lwm2m_message *msg) in setup_out_fmt_data() 106 static void clear_out_fmt_data(struct lwm2m_message *msg) in clear_out_fmt_data() 113 static void setup_in_fmt_data(struct lwm2m_message *msg) in setup_in_fmt_data() 123 static void clear_in_fmt_data(struct lwm2m_message *msg) in clear_in_fmt_data() 719 static int do_write_op_item(struct lwm2m_message *msg, struct record *rec) in do_write_op_item() 821 int do_read_op_senml_cbor(struct lwm2m_message *msg) in do_read_op_senml_cbor() 834 static uint8_t parse_composite_read_paths(struct lwm2m_message *msg, in parse_composite_read_paths() 919 int do_composite_read_op_for_parsed_path_senml_cbor(struct lwm2m_message *msg, in do_composite_read_op_for_parsed_path_senml_cbor() 934 int do_composite_read_op_senml_cbor(struct lwm2m_message *msg) in do_composite_read_op_senml_cbor() 959 int do_write_op_senml_cbor(struct lwm2m_message *msg) in do_write_op_senml_cbor() [all …]
|
D | lwm2m_rd_client.c | 117 struct lwm2m_message rd_message; 147 static struct lwm2m_message *rd_get_message(void) in rd_get_message() 165 struct lwm2m_message *lwm2m_get_ongoing_rd_msg(void) in lwm2m_get_ongoing_rd_msg() 465 static void do_bootstrap_reg_timeout_cb(struct lwm2m_message *msg) in do_bootstrap_reg_timeout_cb() 554 static void do_registration_timeout_cb(struct lwm2m_message *msg) in do_registration_timeout_cb() 593 static void do_update_timeout_cb(struct lwm2m_message *msg) in do_update_timeout_cb() 630 static void do_deregister_timeout_cb(struct lwm2m_message *msg) in do_deregister_timeout_cb() 733 struct lwm2m_message *msg; in sm_send_bootstrap_registration() 865 struct lwm2m_message *msg; in sm_send_registration() 1214 struct lwm2m_message *msg; in sm_do_deregister()
|
D | lwm2m_rw_oma_tlv.c | 807 int do_read_op_tlv(struct lwm2m_message *msg, int content_format) in do_read_op_tlv() 819 static int do_write_op_tlv_dummy_read(struct lwm2m_message *msg) in do_write_op_tlv_dummy_read() 835 static int do_write_op_tlv_item(struct lwm2m_message *msg) in do_write_op_tlv_item() 883 static int write_tlv_resource(struct lwm2m_message *msg, struct oma_tlv *tlv) in write_tlv_resource() 911 static int write_tlv_resource_instance(struct lwm2m_message *msg, struct oma_tlv *tlv) in write_tlv_resource_instance() 931 static int lwm2m_multi_resource_tlv_parse(struct lwm2m_message *msg, in lwm2m_multi_resource_tlv_parse() 976 int do_write_op_tlv(struct lwm2m_message *msg) in do_write_op_tlv()
|
D | lwm2m_pull_context.c | 34 static void do_transmit_timeout_cb(struct lwm2m_message *msg); 97 struct lwm2m_message *msg; in transfer_request() 360 static void do_transmit_timeout_cb(struct lwm2m_message *msg) in do_transmit_timeout_cb()
|
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_engine/src/ |
D | stubs.h | 28 DECLARE_FAKE_VALUE_FUNC(struct lwm2m_message *, find_msg, struct coap_pending *, 32 DECLARE_FAKE_VOID_FUNC(lwm2m_reset_message, struct lwm2m_message *, bool); 33 DECLARE_FAKE_VALUE_FUNC(int, lwm2m_send_message_async, struct lwm2m_message *); 41 DECLARE_FAKE_VALUE_FUNC(int, handle_request, struct coap_packet *, struct lwm2m_message *);
|
D | stubs.c | 14 DEFINE_FAKE_VALUE_FUNC(struct lwm2m_message *, find_msg, struct coap_pending *, 17 DEFINE_FAKE_VOID_FUNC(lwm2m_reset_message, struct lwm2m_message *, bool); 18 DEFINE_FAKE_VALUE_FUNC(int, lwm2m_send_message_async, struct lwm2m_message *); 27 DEFINE_FAKE_VALUE_FUNC(int, handle_request, struct coap_packet *, struct lwm2m_message *);
|
D | main.c | 28 static struct lwm2m_message my_msg; 48 static struct lwm2m_message *find_msg_custom_fake(struct coap_pending *pending, in find_msg_custom_fake() 264 struct lwm2m_message msg; in ZTEST() 281 struct lwm2m_message msg; in ZTEST() 308 struct lwm2m_message msg; in ZTEST() 397 struct lwm2m_message msg; in ZTEST() 492 struct lwm2m_message msg1 = { in ZTEST() 496 struct lwm2m_message msg2 = msg1; in ZTEST() 497 struct lwm2m_message ack = { in ZTEST()
|
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_rd_client/src/ |
D | stubs.h | 84 DECLARE_FAKE_VALUE_FUNC(int, lwm2m_init_message, struct lwm2m_message *); 86 int lwm2m_init_message_fake_default(struct lwm2m_message *msg); 89 DECLARE_FAKE_VOID_FUNC(lwm2m_reset_message, struct lwm2m_message *, bool); 90 DECLARE_FAKE_VALUE_FUNC(int, lwm2m_send_message_async, struct lwm2m_message *); 97 DECLARE_FAKE_VALUE_FUNC(int, do_register_op_link_format, struct lwm2m_message *);
|
D | stubs.c | 149 struct lwm2m_message *pending_message; 208 DEFINE_FAKE_VALUE_FUNC(int, lwm2m_init_message, struct lwm2m_message *); 210 int lwm2m_init_message_fake_default(struct lwm2m_message *msg) in lwm2m_init_message_fake_default() 221 DEFINE_FAKE_VOID_FUNC(lwm2m_reset_message, struct lwm2m_message *, bool); 222 DEFINE_FAKE_VALUE_FUNC(int, lwm2m_send_message_async, struct lwm2m_message *); 274 DEFINE_FAKE_VALUE_FUNC(int, do_register_op_link_format, struct lwm2m_message *);
|
/Zephyr-latest/tests/net/lib/lwm2m/block_transfer/src/ |
D | main.c | 13 int prepare_msg_for_send(struct lwm2m_message *msg); 14 int build_msg_block_for_send(struct lwm2m_message *msg, uint16_t block_num, 35 struct lwm2m_message msg; 54 memset(&fixture->msg, 0, sizeof(struct lwm2m_message)); in net_block_transfer_before() 68 struct lwm2m_message *msg = &fixture->msg; in ZTEST_F() 101 struct lwm2m_message *msg = &fixture->msg; in ZTEST_F() 167 struct lwm2m_message *msg = &fixture->msg; in ZTEST_F() 221 struct lwm2m_message *msg = &fixture->msg; in ZTEST_F() 296 struct lwm2m_message *msg = &fixture->msg; in ZTEST_F()
|