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

◆ nrf_cloud_obj_bulk_add()

int nrf_cloud_obj_bulk_add ( struct nrf_cloud_obj *const  bulk,
struct nrf_cloud_obj *const  obj 
)

#include <include/net/nrf_cloud_codec.h>

Add an object to a bulk message object.

If successful, the object belongs to the bulk message and should not be freed directly.

Parameters
[out]bulkBulk container object.
[in]objObject to add.
Return values
-EINVALInvalid parameter.
-ENOENTObject is not initialized.
-ENODEVNot a bulk container object.
-EIOError adding object.
-ENOTSUPAction not supported for the object's type.
0Success; item added.