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

◆ cloud_wrap_data_send()

int cloud_wrap_data_send ( char *  buf,
size_t  len,
bool  ack,
uint32_t  id,
const struct lwm2m_obj_path  path_list[] 
)

#include <applications/asset_tracker_v2/src/cloud/cloud_wrapper.h>

Send data to cloud.

Parameters
[in]bufPointer to buffer containing data to be sent.
[in]lenLength of buffer.
[in]ackFlag signifying if the message should be acknowledged or not.
[in]idMessage ID.
[in]path_listList of LwM2M objects to be sent.
Returns
0 on success, or a negative error code on failure.