Location library - separating cloud and GNSS requests.

Hello,

I’m wondering if there is a way to separate CELL and Wi-Fi location data from GNSS location data in the Location library. Currently, we use nRF Cloud for location services, which works well. However, we believe using our own cloud as a proxy to nRF Cloud might improve both message transmission times and battery consumption.

Here’s our proposed approach:

  1. The device collects cell tower and Wi-Fi data and sends it to our cloud.
  2. Our cloud forwards this data to nRF Cloud and receives the location in response.
  3. The location remains on our server, so there’s no need to send it back to the device.

The issue we have is that we don’t want to forward AGPS data. Is it possible to forward only CELL and Wi-Fi data and let the device request AGPS directly from nRF Cloud?


Parents
  • Hi! I think enabling CONFIG_LOCATION_SERVICE_EXTERNAL is the correct approach. This will force you to implement the callbacks, but doesn't necessarily mean that you have to use a proxy for AGNSS. You can essentially copy the method_gnss_nrf_cloud_agnss_request function. Note that there are different versions for different backends. Please let me know if you need further assistance on this.

Reply
  • Hi! I think enabling CONFIG_LOCATION_SERVICE_EXTERNAL is the correct approach. This will force you to implement the callbacks, but doesn't necessarily mean that you have to use a proxy for AGNSS. You can essentially copy the method_gnss_nrf_cloud_agnss_request function. Note that there are different versions for different backends. Please let me know if you need further assistance on this.

Children
No Data