blob: 0a87a5fe3a99561c1c6f4131d870ea3ff8e0b297 [file] [log] [blame]
/*
* Copyright (c) 2021 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef LWM2M_RW_SENML_JSON_H_
#define LWM2M_RW_SENML_JSON_H_
#include "lwm2m_object.h"
extern const struct lwm2m_writer senml_json_writer;
extern const struct lwm2m_reader senml_json_reader;
/* General Read single Path operation */
int do_read_op_senml_json(struct lwm2m_message *msg);
/* General Write single Path operation */
int do_write_op_senml_json(struct lwm2m_message *msg);
/* Send operation builder */
int do_send_op_senml_json(struct lwm2m_message *msg, sys_slist_t *lwm2m_path_list);
/* API for call composite READ from engine */
int do_composite_read_op_senml_json(struct lwm2m_message *msg);
/* API for call composite READ for parsed path list from engine */
int do_composite_read_op_for_parsed_list_senml_json(struct lwm2m_message *msg,
sys_slist_t *path_list);
/* API for call composite READ path list from engine */
int do_composite_observe_parse_path_senml_json(struct lwm2m_message *msg,
sys_slist_t *lwm2m_path_list,
sys_slist_t *lwm2m_path_free_list);
#endif /* LWM2M_RW_SENML_JSON_H_ */