nRF Connect SDK API 2.8.99
|
int cloud_codec_init | ( | struct cloud_data_cfg * | cfg, |
cloud_codec_evt_handler_t | event_handler ) |
#include <applications/asset_tracker_v2/src/cloud/cloud_codec/cloud_codec.h>
Initialize cloud codec.
[in] | cfg | Initial config data. |
[in] | event_handler | Handler for events coming from the codec. |
0 | on success. |
-ENOMEM | if LwM2M engine couldn't allocate its objects. |