# WP7502 GPS - no TTFF available\[solved\]

**URL:** <https://mangoh.discourse.group/t/wp7502-gps-no-ttff-available-solved/1327>\
**Category:** Uncategorized\
**Created:** [April 11, 2018, 12:54pm UTC](https://mangoh.discourse.group/t/wp7502-gps-no-ttff-available-solved/1327 "2018-04-11T12:54:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![haribabutd](https://avatars.discourse-cdn.com/v4/letter/h/8e8cbc/32.png) [@haribabutd](https://mangoh.discourse.group/u/haribabutd)\
**Post date:** [April 11, 2018, 12:54pm UTC](https://mangoh.discourse.group/t/wp7502-gps-no-ttff-available-solved/1327/1 "2018-04-11T12:54:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Habib](https://avatars.discourse-cdn.com/v4/letter/h/71e660/32.png) [@Habib](https://mangoh.discourse.group/u/Habib)\
**Post date:** [April 11, 2018, 5:54pm UTC](https://mangoh.discourse.group/t/wp7502-gps-no-ttff-available-solved/1327/2 "2018-04-11T17:54:20Z")

</div>

Hi,  
You need to issue the AT!GPSAUTOSTART command.  
e.g. at!gpsautostart=1,1,254,1,60

---

<div class="post-metadata">

**Author:** ![haribabutd](https://avatars.discourse-cdn.com/v4/letter/h/8e8cbc/32.png) [@haribabutd](https://mangoh.discourse.group/u/haribabutd)\
**Post date:** [April 12, 2018, 7:25am UTC](https://mangoh.discourse.group/t/wp7502-gps-no-ttff-available-solved/1327/3 "2018-04-12T07:25:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Habib](https://avatars.discourse-cdn.com/v4/letter/h/71e660/32.png) [@Habib](https://mangoh.discourse.group/u/Habib)\
**Post date:** [April 12, 2018, 7:28pm UTC](https://mangoh.discourse.group/t/wp7502-gps-no-ttff-available-solved/1327/4 "2018-04-12T19:28:42Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![haribabutd](https://avatars.discourse-cdn.com/v4/letter/h/8e8cbc/32.png) [@haribabutd](https://mangoh.discourse.group/u/haribabutd)\
**Post date:** [April 13, 2018, 9:30am UTC](https://mangoh.discourse.group/t/wp7502-gps-no-ttff-available-solved/1327/5 "2018-04-13T09:30:56Z")

</div>

Hi Habib,

Yes I got satellites and location also. Thank you.
