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

◆ nrf_cloud_obj_cloud_encoded_free()

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.

Parameters
[out]objObject.
Return values
-EINVALInvalid parameter.
-EACCESEncoded data was not encoded by nrf_cloud_obj_cloud_encode.
-ENOTSUPAction not supported for the object's type.
0Success; memory freed.