nRF Connect SDK API 0.1.0
|
int nrf_cloud_obj_free | ( | struct nrf_cloud_obj *const | obj | ) |
#include <include/net/nrf_cloud_codec.h>
Free the memory of an initialized object.
Frees the object's memory; use nrf_cloud_obj_cloud_encoded_free to free cloud encoded data.
[out] | obj | Object to initialize. |
-EINVAL | Invalid parameter. |
-ENOMEM | Out of memory. |
-ENOTSUP | Action not supported for the object's type. |
0 | Success; memory freed. |