nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ lwm2m_codec_helpers_set_sensor_data()

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.

Parameters
[in]sensorPointer to structure that contains environmental sensor data.
Return values
0If successful, otherwise a negative value indicating the reason of failure.
Returns
-ENODATA if the queued flag present in the input structure is false.