# GPS etc

**URL:** <https://forum.legato.io/t/gps-etc/25>\
**Category:** Legato Application Framework\
**Created:** [March 6, 2014, 8:51am UTC](https://forum.legato.io/t/gps-etc/25 "2014-03-06T08:51:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidc](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@davidc](https://forum.legato.io/u/davidc)\
**Post date:** [March 6, 2014, 8:51am UTC](https://forum.legato.io/t/gps-etc/25/1 "2014-03-06T08:51:20Z")

</div>

Hiya,

Are there any notes about using the on board gps?

Or even some hints about what header files to dive into?

Ciao, Dave

---

<div class="post-metadata">

**Author:** ![kmurphy](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/kmurphy/32/65_2.png) [@kmurphy](https://forum.legato.io/u/kmurphy)\
**Post date:** [March 11, 2014, 9:42pm UTC](https://forum.legato.io/t/gps-etc/25/2 "2014-03-11T21:42:50Z")

</div>

Hello Dave,

The documentation for the GPS is under the Positioning API in the main documentation index. In Alpha B the posDaemon is disabled by default, so you have to manually start it.

To re-enable it:

1. Go to /usr/local/bin
2. Open ‘legato’ file
3. In StartLegato() function, add posDaemon to the for loop

```auto
for procName in serviceDirectory logCtrlDaemon configTree audioDaemon modemDaemon posDaemon dcsDaemon agent
    do …
```

-Kelly

---

<div class="post-metadata">

**Author:** ![davidc](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@davidc](https://forum.legato.io/u/davidc)\
**Post date:** [March 11, 2014, 11:08pm UTC](https://forum.legato.io/t/gps-etc/25/3 "2014-03-11T23:08:45Z")

</div>

Hi Kelly,

Ta.

> [@kmurphy](#):
>
> The documentation for the GPS is under the Positioning API in the main documentation index

This may be a dumb question, but where is the ‘Main Documentation Index’?

All the documentation I’ve got is that supplied with the Legato Alpha-B Package:  
[ul][li]Legato Alpha-B Getting Started[/li]  
[li]AirPrime - AR and WP Series - Development Kit User Guide - Rev2.2[/li]  
[li]AirPrime - WP710x-G - Product Technical Specification and Customer Design Guidelines - Rev2.4[/li][/ul]

I’ve had a look on the Developer Zone and there’s no resources there under the Legato product.

Can you please point me to the extra documentation resources.

ciao, Dave

---

<div class="post-metadata">

**Author:** ![kmurphy](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/kmurphy/32/65_2.png) [@kmurphy](https://forum.legato.io/u/kmurphy)\
**Post date:** [March 12, 2014, 4:26pm UTC](https://forum.legato.io/t/gps-etc/25/4 "2014-03-12T16:26:12Z")

</div>

Hello Dave,

Sorry about the confusion. Once you’ve downloaded the Legato framework source and successfuly built it using either:

```auto
$ make
```

Or just the docs:

```auto
$ make docs
```

You will get a Documentation directory in your Legato directory. Just open the generated index.html file in your web browser. It’s a doxygen generated document and there’s a table of contents on the left hand side. In the table of contents there’s a Positioning API topic that you can check out.

-Kelly

---

<div class="post-metadata">

**Author:** ![davidc](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@davidc](https://forum.legato.io/u/davidc)\
**Post date:** [March 12, 2014, 10:55pm UTC](https://forum.legato.io/t/gps-etc/25/5 "2014-03-12T22:55:05Z")

</div>

Hi Kelly,

Excellent!

Thanks for your help. Now it’s time for some reading…

ciao, Dave

---

<div class="post-metadata">

**Author:** ![davidc](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@davidc](https://forum.legato.io/u/davidc)\
**Post date:** [March 12, 2014, 11:30pm UTC](https://forum.legato.io/t/gps-etc/25/6 "2014-03-12T23:30:25Z")

</div>

Hiya All,

Just as an addition, you can also make the PDF version of the docs for reading off-line/printing etc. Do the following:

`cd legato (your legato framework directory)
cd build/localhost
make pdf
`

after this completes, there will be a file called legato.pdf in the directory

```auto
bin/doc/user
```

which you can then copy to somewhere more convenient.

ciao, Dave

---

<div class="post-metadata">

**Author:** ![davidc](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@davidc](https://forum.legato.io/u/davidc)\
**Post date:** [March 27, 2014, 5:55am UTC](https://forum.legato.io/t/gps-etc/25/7 "2014-03-27T05:55:57Z")

</div>

Hiya,

Does the GPS need an active antenna? If so, is there an I/O pin to turn it on (like on the OpenAT modules).

Also, the Positioning API in the docs doesn’t appear to have any functions that return the GPS time. Is it possible to get the time from the GPS module?

Ta, Dave

---

<div class="post-metadata">

**Author:** ![JHO](https://avatars.discourse-cdn.com/v4/letter/j/0ea827/32.png) [@JHO](https://forum.legato.io/u/JHO)\
**Post date:** [May 6, 2014, 4:06pm UTC](https://forum.legato.io/t/gps-etc/25/8 "2014-05-06T16:06:17Z")

</div>

Hello  
a passive GPS antenna can be used. Of course active antenna will provide better performance. For antenna features, please review WP7 PTS/CDG guide v3 available on Dev Zone  
Thanks you  
JHO
