Hi,
I try to create an MQTT AGPS tracker.
I'm using a nrf9160dk with the 1.3.0v.
I use two threads, one for GPS (A-GPS) and one other to send value to MQTT (witch starts once the GPS thread finished its initialization), this two thread are based on MQTT_Simpl and GPS samples.
The MQTT parts works, but I can't get the localisation.
First:
- The AGPS gets info and send it to the modem, but I don't know if this values are correct, how to be sure that the sended values are correct?
Secondly:
- When the GPS thread continues, I get some tracked satellites, when I'm outside (between 5 and 10), but there are never used to find position (I tried to wait 10min, is it enough?)
- When I come back inside (where I must get "0" tracked satellite), i continue to get the same number that I get outside.
How to be sure that the modem get realy GPS information or if the LTE has switch off the GPS?
My configuration steps are:
1. Init the GPS (as GPS Sample)
2. Start AGPS request (as GPS Sample, using "CONFIG_SUPL_CLIENT_LIB=y")
3. When all AGPS are sended to the modem: Init and start MQTT (as MQTT sample)
Please help me!