Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi,

I am using IPOSDET APIs for GPS. 

For AGPS related activities, which of the below do I need to use?

AEEGPS_MODE_TRACK_LOCAL or AEEGPS_MODE_DLOAD_FIRST.

When do we use AEEGPS_MODE_DLOAD_FIRST?

Also, AEEGPS_MODE_DLOAD_FIRST does not work on my device (not getting fix).

 

Please help.

Thanks in advance.

 
Note that AEEGPS_MODE_DLOAD_FIRST and AEEGPS_MODE_TRACK_LOCAL mode downloads the assistance data from the location server. In AEEGPS_MODE_TRACK_LOCAL mode, the device will automatically refresh the assistance data if it is unavailable or obsolete when a fix is requested. The device uses the duration computed by (nFixes * nInterval) to determine the period for which assistance data is required. Periodically using AEEGPS_MODE_DLOAD_FIRST mode gives the application some control over when the almanac and ephermis data is downloaded or refreshed.

Also AEEGPS_MODE_TRACK_LOCAL mode minimizes requests to the network for position determination information. I would suggest to use AEEGPS_MODE_TRACK_LOCAL. 

 
Note that AEEGPS_MODE_DLOAD_FIRST and AEEGPS_MODE_TRACK_LOCAL mode downloads the assistance data from the location server. In AEEGPS_MODE_TRACK_LOCAL mode, the device will automatically refresh the assistance data if it is unavailable or obsolete when a fix is requested. The device uses the duration computed by (nFixes * nInterval) to determine the period for which assistance data is required. Periodically using AEEGPS_MODE_DLOAD_FIRST mode gives the application some control over when the almanac and ephermis data is downloaded or refreshed.

Also AEEGPS_MODE_TRACK_LOCAL mode minimizes requests to the network for position determination information. I would suggest to use AEEGPS_MODE_TRACK_LOCAL. 

Thank you smahesh. I'll take you word. :)

Thank you smahesh. I'll take you word. :)