nRF Cloud - Assisted GPS Endpoint deprecation - Migration question

Hi everyone, 

we are running a Cloud-to-Cloud scenario where we use the Assisted GPS API. 

https://api-docs.nrfcloud.com/#tag/Assisted-GPS/operation/GetAssistanceDataLegacy

We discovered that this endpoint is marked as deprecated and we now want to migrate to the new suggested endpoint https://api-docs.nrfcloud.com/#tag/GNSS/operation/GetAssistanceData

However, we are uncertain on how to migrate, as we can not find any kind of documentation on the details.

Specifically in regards to the now deprecated "requestType" parameter. e.g. we are receiving requests with requestType = rtAssistance (and no customTypes) 

But the "requestType" parameter has been removed as the type of request is now inferred from the customTypes (or types) in the request.

But we have no information or documentation what each old requestType (like rtAssistance or rtLocation) was implicittly mapping onto what customTypes / types.

Could anyone please point us to some kind of documentation or migration guide?

Any help is appreciated!

Parents
  • Hi Mike,

    I'm Cole, working with the nRF Cloud Team on location services. You are right that the customTypes (now types) and requestType have been changed with the new AGNSS endpoint. If no types are provided, the system will use the following types by default (same a requestType=rtAssistance from the current API): 

    • 1 = GPS UTC
    • 2 = GPS Ephemerides
    • 3 = GPS Almanac
    • 4 = Klobuchar Ionospheric Correction
    • 6 = GPS Time of Week
    • 7 = GPS System Clock
    • 9 = GPS Integrity

    If cell data is sent, it will also add type 8 (Location). 

    Happy to answer any other questions.

    Best,

    Cole

Reply
  • Hi Mike,

    I'm Cole, working with the nRF Cloud Team on location services. You are right that the customTypes (now types) and requestType have been changed with the new AGNSS endpoint. If no types are provided, the system will use the following types by default (same a requestType=rtAssistance from the current API): 

    • 1 = GPS UTC
    • 2 = GPS Ephemerides
    • 3 = GPS Almanac
    • 4 = Klobuchar Ionospheric Correction
    • 6 = GPS Time of Week
    • 7 = GPS System Clock
    • 9 = GPS Integrity

    If cell data is sent, it will also add type 8 (Location). 

    Happy to answer any other questions.

    Best,

    Cole

Children
Related