Hi,
I am working with GPS on WP7502 module in custom board. I am not able to get location values. Below are the outputs of AT!CUSTOM and AT!GPSSTATUS commands.
!CUSTOM:
ISVOICEN 0x01
GPIOSARENABLE 0x01
GPSENABLE 0x01
WAKEHOSTEN 0x83
NMEAENABLE 0x01
GOBIIMEN 0x01
USBECMRNDISOPTION 0x01
HSICENABLE 0x01
SINGLEAPNSWITCH 0x01
SIMLPM 0x01
BOOTQUIETDISABLE 0x01
FASTBOOTEN 0x01
OK
Current time: 1980 01 06 6 00:40:23
1980 01 06 6 00:40:23 Last Fix Status = NONE
1980 01 06 6 00:40:23 Fix Session Status = NONE
No TTFF available
OK
Looks like gps is enabled. Let me know if I am missing any other settings to solve the problem.
Thanks,
Hari.
Habib
April 11, 2018, 5:54pm
2
Hi,
You need to issue the AT!GPSAUTOSTART command.
e.g. at!gpsautostart=1,1,254,1,60
2 Likes
Thanks Habib. Previously I have given at!gpsautostart=1,1,254,1,1000. After changing to at!gpsautostart=1,1,254,1,60, I got
Current time: 1980 01 06 6 00:04:22
1980 01 06 6 00:04:22 Last Fix Status = NONE
1980 01 06 6 00:00:09 Fix Session Status = ACTIVE
And after sometime I got
Current time: 1980 01 06 6 00:13:17
1980 01 06 6 00:04:23 Last Fix Status = FAIL, FAILCODE = 12
1980 01 06 6 00:04:23 Fix Session Status = ACTIVE
Will look into this.
Regards,
Hari
Habib
April 12, 2018, 7:28pm
4
Hi Hari,
Now your Session Status is ACTIVE. You can check your SAT info using at!gpssatinfo?
You need to have at least 3 satellites in view.
Hi Habib,
Yes I got satellites and location also. Thank you.