Before getting a fix, the GPS spits out lots of "$GPTXT,01,01,01,NMEA unknown msg*58", though these stop once a fix is obtained. --[[User:Speedevil|Speedevil]] 11:52, 7 April 2008 (CEST)

Before getting a fix, the GPS spits out lots of "$GPTXT,01,01,01,NMEA unknown msg*58", though these stop once a fix is obtained. --[[User:Speedevil|Speedevil]] 11:52, 7 April 2008 (CEST)

+

In Openmoko projects, you could find a GPS test program that could provide graphical and text dump of GPS information. This project called [svn.projects.openmoko.org/svnroot/openmoko-agpsui Openmoko AGPS UI project].

=== Possible GPS programs ===

=== Possible GPS programs ===

Revision as of 11:17, 4 June 2008

The Neo1973 device contains an integrated GPS. The particular device
is marketed as an AGPS, and there is some
discussion available as to what significance that "A" might have.

In the very early shipment to 50 Phase 1 developers, a binary-only program for talking to the the GPS was accidentally included
in /home/root/DM2/gps, (and presumably, the same binary would function on a P0 device).
This binary is called gllin and it is a oabi binary, i.e. it will only work in the 2007.1 OpenMoko environment. There is now a eabi binary, which works with 2007.2.

There was an effort to write a Free Software
program that could be used instead of this binary-only program, but this stalled after the decision to change GPS chips in GTA02.

GTA02 GPS

To turn on the GPS, echo 1 to the file ./devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/pwron

To read from the GPS, simply read /dev/ttySAC1.

cat /dev/ttySAC1 will work fine.

Before getting a fix, the GPS spits out lots of "$GPTXT,01,01,01,NMEA unknown msg*58", though these stop once a fix is obtained. --Speedevil 11:52, 7 April 2008 (CEST)

In Openmoko projects, you could find a GPS test program that could provide graphical and text dump of GPS information. This project called [svn.projects.openmoko.org/svnroot/openmoko-agpsui Openmoko AGPS UI project].

Possible GPS programs

As people develop more sophisticated GPS applications, please note them here.

Cumulus GPS software for glider pilots (and pilots in general), has a port for Qtopia and pulls (world) maps from the KFLog flight planner project. I think someone has put a project like this on the projects website here.

Using the Neo's GPS on a Laptop

First be sure you have gllin installed on the Neo.

On host type: nc -vvn -l -p 5000 > /tmp/nmeaNP

On the Neo type: nc 192.168.0.200 5000 < /tmp/nmeaNP

On the host PC install GPSD, your GPS is attached as /tmp/nmeaNP

start gpsd on host with: gpsd -p /tmp/nmeaNP

run your application! I used gpsdrive and it works better than my stand-alone GPS.

Tested with RoadNav.Works great!

With this in mind if you have an unlimited data package you could export this over the internet.

In the very early shipment to 50 Phase 1 developers, a binary-only program for talking to the the GPS was accidentally included
in /home/root/DM2/gps, (and presumably, the same binary would function on a P0 device).
This binary is called gllin and it is a oabi binary, i.e. it will only work in the 2007.1 OpenMoko environment. There is now a eabi binary, which works with 2007.2.

There was an effort to write a Free Software
program that could be used instead of this binary-only program, but this stalled after the decision to change GPS chips in GTA02.

Cumulus GPS software for glider pilots (and pilots in general), has a port for Qtopia and pulls (world) maps from the KFLog flight planner project. I think someone has put a project like this on the projects website here.

Using the Neo's GPS on a Laptop

First be sure you have gllin installed on the Neo.

On host type: nc -vvn -l -p 5000 > /tmp/nmeaNP

On the Neo type: nc 192.168.0.200 5000 < /tmp/nmeaNP

On the host PC install GPSD, your GPS is attached as /tmp/nmeaNP

start gpsd on host with: gpsd -p /tmp/nmeaNP

run your application! I used gpsdrive and it works better than my stand-alone GPS.

Tested with RoadNav.Works great!

With this in mind if you have an unlimited data package you could export this over the internet.