# GPS and TCP/IP

**URL:** <https://forum.sierrawireless.com/t/gps-and-tcp-ip/2252>\
**Category:** Legacy AirPrime modules\
**Created:** [June 17, 2008, 9:47am UTC](https://forum.sierrawireless.com/t/gps-and-tcp-ip/2252 "2008-06-17T09:47:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Agathe\_N](https://avatars.discourse-cdn.com/v4/letter/a/cc9497/32.png) [@Agathe\_N](https://forum.sierrawireless.com/u/Agathe_N)\
**Post date:** [June 17, 2008, 9:47am UTC](https://forum.sierrawireless.com/t/gps-and-tcp-ip/2252/1 "2008-06-17T09:47:34Z")

</div>

Hello,

I need to developp a program on the WMP100 development kit with the GPS plug-in development kit. This program has to read informations from the GPS (latitude, longitude, time) and send this informations to a server using UDP protocol.  
The problem is I’m a beginner in Open AT and I have difficulties to understand how does it work!

For now, I can send messages to the server but only using the exemple program. I can’t send when I want in an other program.  
And I have got problems with my GPS too because when I execute exemple programs the fix is never obtained and the NMEA frames contains only 0 or non significant numbers.

If somebody has some informations it can help me very much!

Thank you

---

<div class="post-metadata">

**Author:** ![trthaithong](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@trthaithong](https://forum.sierrawireless.com/u/trthaithong)\
**Post date:** [June 19, 2008, 9:35am UTC](https://forum.sierrawireless.com/t/gps-and-tcp-ip/2252/2 "2008-06-19T09:35:44Z")

</div>

Hi Agathe N,

> [@](#):
>
> For now, I can send messages to the server but only using the exemple program. I can’t send when I want in an other program.

→ You can develop your own appl base on sample program to get and process PVT data. Of-course, firstly you must to understand sample code thoroughly.

> [@](#):
>
> And I have got problems with my GPS too because when I execute exemple programs the fix is never obtained and the NMEA frames contains only 0 or non significant numbers.

→ Do you enable antenna, or test at over clear sky?  
ttt

---

<div class="post-metadata">

**Author:** ![Agathe\_N](https://avatars.discourse-cdn.com/v4/letter/a/cc9497/32.png) [@Agathe\_N](https://forum.sierrawireless.com/u/Agathe_N)\
**Post date:** [June 19, 2008, 9:58am UTC](https://forum.sierrawireless.com/t/gps-and-tcp-ip/2252/3 "2008-06-19T09:58:13Z")

</div>

Thank you for your answer.

I realise a program in wich I can communicate with a sever in UDP so that point is good!

However about the GPS I have the same problem. I contacted my provider but he didn’t explain to me how to enable antenna. Can you explain?  
What I checked is that the UART1 and 2 are enable. But I don’t now about the antenna.

Thank you.

---

<div class="post-metadata">

**Author:** ![trthaithong](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@trthaithong](https://forum.sierrawireless.com/u/trthaithong)\
**Post date:** [June 20, 2008, 6:31am UTC](https://forum.sierrawireless.com/t/gps-and-tcp-ip/2252/4 "2008-06-20T06:31:26Z")

</div>

Hi,  
I have tested on Fastrack Supreme 20 (Query Application Sample) following steps:

Config one time after download firmware or the first time run modem:  
AT+WOPEN=0  
AT+WOPEN=3  
AT+WDWL  
… Download Embedded appli  
AT+CFUN=1

> > AT+WOPEN=1

> > AT+WHCNF=0,0

> > AT+WIOM=8,1,0

> > AT+WIOW=8,0

To debug:  
AT+NMEA=1 (or = 0)  
AT+CGPS = 2  
AT+CONFIG=1 (To save and run always run appl)  
(Can send SMS for PVT obtaining: INFO:“Password”:“Phonenumber” )  
{Exp: INFO:CGPS[:telephone number]}

To change debug:

AT+CONFIG=0  
AT+WOPEN=0  
AT+WOPEN=1

… Same these above debug steps.  
Hope can help you,  
ttt

---

<div class="post-metadata">

**Author:** ![Agathe\_N](https://avatars.discourse-cdn.com/v4/letter/a/cc9497/32.png) [@Agathe\_N](https://forum.sierrawireless.com/u/Agathe_N)\
**Post date:** [June 20, 2008, 7:06am UTC](https://forum.sierrawireless.com/t/gps-and-tcp-ip/2252/5 "2008-06-20T07:06:42Z")

</div>

Hi,

I execute the command you wrote but I obtained that :

AT+WHCNF=0,0  
OK  
AT+WIOM=8,1,0  
+CME ERROR: 3  
AT+WIOW=8,0  
+CME ERROR: 501

And the NMEA frames are the same.

I think it’s because I use a WMP100 and my provider confirmed to me that the antenna is automatically activate and no command is nedded to activate it.

So the problem still exist!

---

<div class="post-metadata">

**Author:** ![Agathe\_N](https://avatars.discourse-cdn.com/v4/letter/a/cc9497/32.png) [@Agathe\_N](https://forum.sierrawireless.com/u/Agathe_N)\
**Post date:** [June 20, 2008, 2:47pm UTC](https://forum.sierrawireless.com/t/gps-and-tcp-ip/2252/6 "2008-06-20T14:47:12Z")

</div>

I resolve the problem and it was so stupid!

The antenna connector was not connected to the board! The welding didn’t exist. I did it and now it work very well!

Thank you for your help.
