nRF Connect SDK API 0.1.0
|
int nrf_cloud_service_info_json_encode | ( | const struct nrf_cloud_svc_info *const | svc_inf, |
cJSON *const | svc_inf_obj | ||
) |
#include <include/net/nrf_cloud_codec.h>
Add service info into the provided cJSON object.
[in] | svc_inf | Service info to add. |
[in,out] | svc_inf_obj | cJSON object to which the service info will be added. |
0 | If successful. |