![]() |
nRF Connect SDK API 3.3.99
|
| int nrf_cloud_gnss_msg_json_encode | ( | const struct nrf_cloud_gnss_data *const | gnss, |
| cJSON *const | gnss_msg_obj ) |
#include <include/net/nrf_cloud_codec.h>
Create an nRF Cloud GNSS device message using the provided GNSS data.
| [in] | gnss | Service info to add. |
| [in,out] | gnss_msg_obj | cJSON object to which the GNSS message will be added. |
| 0 | If successful. |