nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
lwm2m_codec_helpers.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
11#ifndef LWM2M_CODEC_HELPERS__
12#define LWM2M_CODEC_HELPERS__
13
14#include <zephyr/net/lwm2m.h>
15
16#include "cloud_codec.h"
17
25#ifdef __cplusplus
26extern "C" {
27#endif
28
35
42
53
64
75 lwm2m_engine_set_data_cb_t callback);
76
85
94
103
112
121
130
139
148
162 const struct lwm2m_obj_path path[],
163 size_t path_size);
164
165#ifdef __cplusplus
166}
167#endif
168
173#endif /* LWM2M_CODEC_HELPERS__ */
static const struct event_proxy_config cfg
Definition: event_proxy_def.h:28
int lwm2m_codec_helpers_set_gnss_data(struct cloud_data_gnss *gnss)
Set GNSS data.
int lwm2m_codec_helpers_set_battery_data(struct cloud_data_battery *battery)
Set battery data.
int lwm2m_codec_helpers_create_objects_and_resources(void)
Create object and resource instances for objects that do not have this setup already through default ...
int lwm2m_codec_helpers_set_user_interface_data(struct cloud_data_ui *user_interface)
Set user interface (UI) data.
int lwm2m_codec_helpers_object_path_list_add(struct cloud_codec_data *output, const struct lwm2m_obj_path path[], size_t path_size)
Generate path lists with reference to objects. This function outputs a list of paths that can be used...
int lwm2m_codec_helpers_set_neighbor_cell_data(struct cloud_data_neighbor_cells *neighbor_cells)
Set neighbor cell data.
int lwm2m_codec_helpers_set_agnss_data(struct cloud_data_agnss_request *agnss_request)
Set Assisted GNSS (A-GNSS) request data. This function will populate the GNSS assistance object (obje...
int lwm2m_codec_helpers_get_configuration_object(struct cloud_data_cfg *cfg)
Get the current values of the application's configuration object.
int lwm2m_codec_helpers_setup_resources(void)
Set up dedicated buffers for resources that do not have storage set in the respective LwM2M object so...
int lwm2m_codec_helpers_set_modem_static_data(struct cloud_data_modem_static *modem_static)
Set modem static data.
int lwm2m_codec_helpers_setup_configuration_object(struct cloud_data_cfg *cfg, lwm2m_engine_set_data_cb_t callback)
Set the initial values for the application's configuration object and register callbacks for configur...
int lwm2m_codec_helpers_set_pgps_data(struct cloud_data_pgps_request *pgps_request)
Set Predicted GPS (P-GPS) request data. This function will populate the GNSS assistance object (objec...
int lwm2m_codec_helpers_set_sensor_data(struct cloud_data_sensors *sensor)
Set environmental sensor data.
int lwm2m_codec_helpers_set_modem_dynamic_data(struct cloud_data_modem_dynamic *modem_dynamic)
Set modem dynamic data.
Definition: cloud_codec.h:206
Definition: cloud_codec.h:258
Structure containing battery data published to cloud.
Definition: cloud_codec.h:47
Definition: cloud_codec.h:103
Structure containing GNSS data published to cloud.
Definition: cloud_codec.h:78
Definition: cloud_codec.h:170
Definition: cloud_codec.h:153
Definition: cloud_codec.h:217
Definition: cloud_codec.h:272
Definition: cloud_codec.h:136
Definition: cloud_codec.h:197
Definition: lwm2m_dummy.h:10