#include <include/net/nrf_cloud_agnss.h>
Processes binary A-GNSS data received from nRF Cloud.
- Parameters
-
buf | Pointer to data received from nRF Cloud. |
buf_len | Buffer size of data to be processed. |
- Return values
-
0 | A-GNSS data successfully processed. |
-EFAULT | An nRF Cloud A-GNSS error code was processed. |
-ENOMSG | No nRF Cloud A-GNSS error code found, invalid error code or wrong app_id/msg_type. |
-EINVAL | buf was NULL or buf_len was zero. |
-EBADMSG | Non-JSON payload is not in the A-GNSS format. |
- Returns
- A negative value indicates an error.