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

◆ nrf_cloud_obj_bulk_init()

int nrf_cloud_obj_bulk_init ( struct nrf_cloud_obj *const  bulk)

#include <include/net/nrf_cloud_codec.h>

Initialize an object as an nRF Cloud bulk message.

If successful, memory is allocated for the provided object. The nrf_cloud_obj_free function should be called when finished with the object.

Parameters
[out]bulkObject to initialize.
Return values
-EINVALInvalid parameter.
-ENOTEMPTYObject already initialized.
-ENOMEMOut of memory.
-ENOTSUPAction not supported for the object's type.
0Success; bulk message initialized.