nRF Connect SDK API 2.8.99
|
int nrf_cloud_obj_cloud_encoded_free | ( | struct nrf_cloud_obj *const | obj | ) |
#include <include/net/nrf_cloud_codec.h>
Free the memory of the encoded data in the object.
Frees the memory allocated by nrf_cloud_obj_cloud_encode.
[out] | obj | Object. |
-EINVAL | Invalid parameter. |
-EACCES | Encoded data was not encoded by nrf_cloud_obj_cloud_encode. |
-ENOTSUP | Action not supported for the object's type. |
0 | Success; memory freed. |