Data format translation from SUPL to NRF Cloud AGPS Schema V1

Hello,

          Using the nRF Connect SDK 1.9.1 for nRF9160 location. Found the "location" library quite simple and scalable to use. So was looking into it. We do not plan to use nRF Cloud for AGPS, and selected the corresponding option to go with External AGPS data, and picked the SUPL lib to inject AGPS data. In the GNSS Sample with SUPL Assistance, the SUPL server data received is injected to the GNSS socket, which is fine. Now in case of "location" library, there is a handler "LOCATION_EVT_GNSS_ASSISTANCE_REQUEST" is received. Here it is mentioned to push the AGPS data formatted to nRF Cloud AGPS Schema V1 into function "location_agps_data_process".

1. Is there a way to translate this received SUPL data into the desired schema?

2. Can the data be injected to GNSS Socket and inform the "location" library to use this SUPL's AGPS data?

Parents Reply Children
No Data
Related