1 /*
2  * Copyright (c) 2021 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef LWM2M_RW_SENML_CBOR_H_
8 #define LWM2M_RW_SENML_CBOR_H_
9 
10 #include "lwm2m_object.h"
11 
12 extern const struct lwm2m_writer senml_cbor_writer;
13 extern const struct lwm2m_reader senml_cbor_reader;
14 
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,
18 						    sys_slist_t *lwm_path_list);
19 int do_write_op_senml_cbor(struct lwm2m_message *msg);
20 
21 int do_composite_observe_parse_path_senml_cbor(struct lwm2m_message *msg,
22 					       sys_slist_t *lwm2m_path_list,
23 					       sys_slist_t *lwm2m_path_free_list);
24 
25 int do_send_op_senml_cbor(struct lwm2m_message *msg, sys_slist_t *lwm2m_path_list);
26 
27 #endif /* LWM2M_RW_SENML_CBOR_H_ */
28