![]() |
Maemo Mapper - no GPS info and satellite details
Hi, I recently bought a Motorola T805 bluetooth GPS receiver, and it works perfectly. However, everything in GPS information is blank, so I can't see the altitude, speed, etc. In "Satellites details" it just says "Satellites in view: 0; in use: 0".
Can anybody help? |
Re: Maemo Mapper - no GPS info and satellite details
I assume you're running a version of the Maemo that comes bundled with the Mapper application; does this return anything?
Barring that, does the control panel GPS app return any information? |
Re: Maemo Mapper - no GPS info and satellite details
Well, it's not working perfectly. If it can't see any satellites, it can't give you any information. Have you tried using it in another location?
|
Re: Maemo Mapper - no GPS info and satellite details
Quote:
I use Nokia 770 with OS2006. |
Re: Maemo Mapper - no GPS info and satellite details
you may want to check that the GPS you are using adheres to the proper protocol (NMEA sentence structure and what not).
there is a hack to find the data being given by the GPS, but i dont know what it is. maybe someone can shed some light. |
Re: Maemo Mapper - no GPS info and satellite details
Check to see which NMEA sentences it outputs, there are specific ones which detail the satellite staus, you may be missing these.
|
Re: Maemo Mapper - no GPS info and satellite details
It gives me this:
Code:
$GPGGA,222324.060,,,,,0,00,,,M,0.0,M,,0000*57 |
Re: Maemo Mapper - no GPS info and satellite details
Yep, don't worry to much about it, you have the nav data, it just doesn't output the satellite health data (which is what the apps use to tell you which satellites are in use). You may find you can enable the output of more NMEA sentances through some utility that came with the GPS/from the manuf's website, etc.
|
Re: Maemo Mapper - no GPS info and satellite details
Quote:
|
Re: Maemo Mapper - no GPS info and satellite details
Some GPS devices support both NMEA and a proprietary "binary" format that can be accessed only via their software. And for some of those kinds of devices, the amount of data available via NMEA is less than the amount of data available via their binary format. It sucks, but unfortunately it's a fact of life. :/
|
Re: Maemo Mapper - no GPS info and satellite details
Quote:
It may be that Maemo-mapper uses a different NMEA sentances to extract the speed/track data and therefore ignores your outputs? |
Re: Maemo Mapper - no GPS info and satellite details
Quote:
That's what my GPS gives at the moment: Code:
$GPGGA,102551.000,5029.1071,N,01718.6271,E,1,07,1.3,218.1,M,42.9,M,,0000*5A[CODE]$GPGGA,hhmmss.ss,llll.ll,a,yyyyy.yy,a,x,xx,x.x,x.x ,M,x.x,M,x.x,xxxx*hh $GPRMC,hhmmss.ss,A,llll.ll,a,yyyyy.yy,a,x.x,x.x,dd mmyy,x.x,a*hh[/ CODE] According to this, my altitude is 218 m, and my speed is 0 knots. |
Re: Maemo Mapper - no GPS info and satellite details
I've just had a look at the maemo-mapper source code, and it uses the RMC and GGA data for nav info and the GSA and GSV for satellite info. The RMC data is the only one which looks to be strictly necessary (as this is parsed to check as to whether the GPS has a fix), the others are parsed if available.
Therefore, it ought to work. Assuming the RMC & GGA data are parsed correctly (and your GPS formats them correctly), you might want to look at the display routi nes of maemo-mapper to see if there's some dependence on the satellite info which is stopping the location, etc., from being displayed. |
Re: Maemo Mapper - no GPS info and satellite details
In "gboolean gps_display_details(void)", the line "if(_gps.fix < 2)" is where I'd start.
This probably takes its data from GSV/GSA rather than using the GGA fix quality flag. But you'll need to check that supposition on my part. |
Re: Maemo Mapper - no GPS info and satellite details
On my N800 with OS2008, the GPS info shows everything - speed, altitude, satellite information, etc. It's not Maemo Mapper, it's either your GPS receiver or your OS.
|
Re: Maemo Mapper - no GPS info and satellite details
Quote:
|
Re: Maemo Mapper - no GPS info and satellite details
Ok, now I am also pretty sure that it has nearly nothing to do with my GPS device. I checked the GPX file and it lists altitude and speed for all the waypoints. It means that Maemo Mapper reads the altitude and velocity, it just doesn't display it in the GPS info box. As lardman suggested before, it seems that Maemo Mapper assumes that there is no fix if it doesn't get any info on satellites. I'm not good enough in programming to fix it myself, but can anyone be kind enough to repair this bug in the next release?
|
Re: Maemo Mapper - no GPS info and satellite details
Make sure you submit a bug to the Garage project and link to this thread
|
Re: Maemo Mapper - no GPS info and satellite details
After tests with SiRFdemo.exe and check the setting of the moto T805, I found the root cause of the problem. Well, it really sucks, but anyway it does work with lots of other GPS software.
Well, the root cause of the problem is that the moto T805 does not output GSA, GSV, GLL and VTG by default but only the GGA and RMC data. Some other GPS software will configure the T805 to send those information on every initial connection of the GPS module but Maemo Mapper does not. So the most proper "fix" to this problem should be to send the initial configuration instructions from the Maemo Mapper software to the GPS module to request for those "missing parameters" once it gets connected with the GPS module. To verify this, you would need the SiRFdemo.exe software on your PC. see this link for details about the SiRFdemo.exe software: http://www.sirf.com/SiRFDemo_User_Guide.pdf I found a document about how to configure the moto T805 via software: http://www.sparkfun.com/datasheets/G...%20Manual1.pdf In this document it said: -------- Note – NMEA input messages 100 to 106 are SiRF proprietary NMEA messages. The MSK NMEA string is as defined by the NMEA 0183 standard. -------- NMEA input messages 100 through 106 are used to configure the output of NMEA parameters, but they are 'proprietary'. So ... this might be the reason why maemo did not implement those inital configuration commands. I have implemented a simple fix (not a good one, though) for this problem. see below posts for details. |
Re: Maemo Mapper - no GPS info and satellite details
1 Attachment(s)
A simple fix to this problem is to set this manualy with a small program, since I don't have the maemo sdk installed (that's a big guy).:D
Below is a piece of C source code to set the GPS parameters, maybe somebody could refine and integrate it into the maemo mapper?:rolleyes: Code:
#include <stdio.h>Attachment 4095 or you can compile it your self with gcc ... |
Re: Maemo Mapper - no GPS info and satellite details
2 Attachment(s)
:cool:
A more crazy one: Code:
#include <stdio.h>Code:
gcc -o gpsd gps_set.cCode:
cp /usr/sbin/gpsd /usr/sbin/gpsd_realCode:
cp gpsd /usr/sbin:cool: Crazy enough? One thing I should repeat here: I do not remommend doing this but this is just an alternative. I recommend to fix this in maemo mapper itself or the official gpsd source codes. source file and binary are attached. source file: Attachment 4096 binary: Attachment 4097 well, I don't guarantee this will work for you, but just make it a reference of possible fix. |
| All times are GMT. The time now is 11:46. |
vBulletin® Version 3.8.8