nRF Connect SDK API 2.8.0
|
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.
[out] | bulk | Bulk container object. |
[in] | obj | Object to add. |
-EINVAL | Invalid parameter. |
-ENOENT | Object is not initialized. |
-ENODEV | Not a bulk container object. |
-EIO | Error adding object. |
-ENOTSUP | Action not supported for the object's type. |
0 | Success; item added. |