nRF Connect SDK API 0.1.0
|
int nrf_cloud_modem_info_json_encode | ( | const struct nrf_cloud_modem_info *const | mod_inf, |
cJSON *const | mod_inf_obj | ||
) |
#include <include/net/nrf_cloud_codec.h>
Add modem info into the provided cJSON object.
[in] | mod_inf | Modem info to add. |
[in,out] | mod_inf_obj | cJSON object to which the modem info will be added. |
0 | If successful. |