nRF Connect SDK API 2.8.99
|
int lwm2m_codec_helpers_setup_configuration_object | ( | struct cloud_data_cfg * | cfg, |
lwm2m_engine_set_data_cb_t | callback ) |
#include <applications/asset_tracker_v2/src/cloud/cloud_codec/lwm2m/lwm2m_codec_helpers.h>
Set the initial values for the application's configuration object and register callbacks for configuration changes.
[in] | cfg | Pointer to structure that contains the default configuration values for the application. |
[in] | callback | Event handler to receive configuration updates. |
0 | If successful, otherwise a negative value indicating the reason of failure. |