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