How to check if A-GPS is, in fact, being used? | Telit Cinterion IoT Developer Community
October 16, 2015 - 6:42pm, 3119 views
Hi there,
I'm trying to get GPS to work on an EHS8 module mounted on a B80 Starter Kit.
First I tried using just GPS on standalone mode, I tested it outside and at my building helipad (23rd floor, there isn't any other building near as tall as mine). 20 minutes outside, 10 minutes on the helipad, to no avail.
Next I tried using A-GPS to get better results, and configured it using the following commands:
AT^SGPSC="Assist/Address","FQDN","supl.google.com","7276"
^SGPSC: "Assist/Address","FQDN","supl.google.com","7276"
OK
AT+CGDCONT=1,"IP","tim.br"
OK
AT^SGPSDNS=1,1
OK
AT+CGACT=1,1
OK
AT^SGPSC="Assist/Connection","1","0"
^SGPSC: "Assist/Connection"
OK
On both MSA and MSB modes the GPS output was basically the same:
$GPGGA,,,,,,0,,,,M,,M,,*66
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,1,11,05,30,278,,07,30,113,,08,05,141,,09,26,039,*79
$GPGSV,3,2,11,11,08,101,,13,33,216,,17,39,013,,19,37,111,*74
$GPGSV,3,3,11,20,05,234,,28,73,211,,30,47,151,,,,,*42
$GPRMC,,V,,,,,,,,,,N*53
$GPVTG,,T,,M,,N,,K,N*2C
(this time i tested outside the building)
I couldn't get the fix even being connected to 3 GPS satellites.
My question is:
Is there a command to check if A-GPS is being used? Because I expected better results after doing all the A-GPS configuration.
Here's my firmware version and GPS config:
Hi Paulo,
It is not possible via AT commands but, since the Java GPS API documentation is beeing under development right now it is unknown if it will be somehow doable on the MIDlet level.
In general there is a visible difference in time when A-GPS is used and when it's not. Unfortunately for now this is the only way to clarify this.
Best regards,
Michał
Hi Michał,
Ok, no problem.
I made some tests and the TTFF takes around 20% of the time when using A-GPS.