GPS with gllin on OM2007.2 (with updates)
This article is a respone for many querries on IRC channel "How did I run GPS data collecting with Neo?". It's quite easy, now. Thanks goes to Michal Sieminski, my colleague, who prepared package.
Beware: it mounts real filesystem to subdirectories. You have to unmount them before deleting whole chroot directory structure! Or you will delete root fs... See chroot/home/root/start_dump file for mounted directory list.
1. Download chroot prepared package
2. Unpack it to /home/root
3. Go to /home/root/chroot/home/root/gps/ and put there gllin OABI binary*.
4. Start screen
5. Go to /home/root/chroot/home/root/
6. Execute sh start_dump
* Note: executing of gllin should end up with
gllin: early exit(3) in halInit()/681
I can't explain what happens to gllin but it still works. Below is written how to check if gllin is alive and provides new GPS data.
Now you can see NMEA frames with
tail -f /home/root/gps.txt
After picking some frames use GPSBABEL and convert NMEA frames to Google Earth's KML data files. Then use GPSVisualizer to draw a map with GPS tracks.
As for watching NMEA frames, if you see someting like
$GPGSA,A,3,01,06,12,21,24,30,31,,,,,,1.1,0.5,1.0*36
your Neo got signal and it has fix the position.
Frames with
$GPGSA,A,1,05,24,30,,,,,,,,,,2230.0,1000.0,2000.0*00
tells - no position fix.
A,1 is a state with no current position
A,2 is a state with 2D position (flat)
A,3 is a state with 3D position (with altitude)
*the gllin binary was accidentally distributed in first series (phase0)of Neo phone. There are some legal issues about this program because it's not open, so FIC cannot distribute it with the phone.
I'm waiting for your comments below or at bartek.zdanowski{at}gmail.com
