nRF Connect SDK API 0.1.0
|
int lwm2m_codec_helpers_set_sensor_data | ( | struct cloud_data_sensors * | sensor | ) |
#include <applications/asset_tracker_v2/src/cloud/cloud_codec/lwm2m/lwm2m_codec_helpers.h>
Set environmental sensor data.
[in] | sensor | Pointer to structure that contains environmental sensor data. |
0 | If successful, otherwise a negative value indicating the reason of failure. |