This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF9160 AGPS sample

In the AGPS sample for nRF9160 "v1.5.1\nrf\samples\nrf9160\agps" main.c, there is option to set interval an and timeout in "gps_config" structure in "gps_start_work_fn" routine. What is the maximum value of interval that can be set? I am getting error of any interval value greater than 1800 seconds.

Error on the log:

I: CLOUD_EVT_READY                                                              
I: Service info sent to cloud                                                   
D: GPS mode is enabled                                                          
E: Failed to set fix interval value                                             
E: Failed to start GPS, error: -5  

I need to set interval value to 4 hours (14400 sec) and 24 hours (86400 sec) for a test that I am doing. Can you suggest where is the limit set and how I can increase it?

Parents Reply Children
No Data
Related