Skip to main content

GetAssistanceDataSize

HEAD 

/location/agnss

This endpoint is for advanced use cases where you need to set the Range header to something other than the payload size. Normally you will just set the Range header to the payload limit for your modem. It gets the payload size of the modem parameters. This endpoint returns the totalBytes in the Content-Length response header, no body. The Content-Length header in the response can be used in the Range header for subsequent requests.

Basic Request:

curl -I $API_HOST/v1/location/agnss -H "Authorization: Bearer $JWT" -d "{\"types\": [8], \"mcc\": 244, \"mnc\": 91, \"tac\": 4099, \"eci\": 36078631}"

Type definitions:

  • 1 = GPS UTC
  • 2 = GPS Ephemerides
  • 3 = GPS Almanac
  • 4 = Klobuchar Ionospheric Correction
  • 5 = Nequick Ionospheric Correction
  • 6 = GPS Time of Week
  • 7 = GPS System Clock
  • 8 = Location (lat/lon of cell)
  • 9 = GPS Integrity
  • 11 = QZSS Almanac
  • 12 = QZSS Ephemerides
  • 13 = QZSS Integrity

Request​

Responses​

Body is empty. Response "Content-Length" header contains the size of the file (bytes).