maemo.org Bugzilla – Bug 11354
gypsy-daemon can not parse GPRMC message from external GPS receiver
Last modified: 2010-09-30 11:40:12 UTC
You need to
before you can comment on or make changes to this bug.
(Settings > General > About product)
EXACT STEPS LEADING TO PROBLEM:
Use Settings -> Location to select an external Insmat Sirfstar III bluetooth
Put GPS receiver in car, take N900 with you into car, set GPS receiver on the
dashboard or somewhere with signal, put N900 somewhere where you can observe
Start OVI Maps, create a route from current GPS position, press the red dot to
track where you are.
The map is rotated so that the direction your car travels in is upward.
The map is not rotated.
HOW TO REPRODUCE, ALTERNATIVE B:
1. Set N900 to use external bluetooth gps as above.
2. Start GPSJinni (from extras), tap General. Observe the "Speed" and
EXPECTED RESULT: Speed is not 0 when gps receiver is moving
ACTUAL OUTCOME: Speed is 0 even when gps receiver is moving at speeds clearly
larger than 0.
The Bluetooth GPS emits $GPRMC sentences of the following format:
gypsy-daemon wants 12 fields in the GPRMC message
(gypsy-daemon-0.6/src/nmea-parser.c and gypsy-daemon-0.6/src/nmea-parser.h).
However, it only actually uses 9 of those fields, those are all included in the
message sent by my SirfStar III gps unit.
It seems silly for gypsy-daemon to fail parsing the GPRMC sentence if the extra
fields are absent, when gypsy-daemon ignores the extra fields.
gypsy-daemon-0.6/src/nmea-parse.h line 22:
#define RMC_FIELDS 12
#define RMC_FIELDS 9
Outcome of above change:
Speed is non-zero as reported by GPSJinni, Direction is changing.
Hi Jan, thanks for reporting this!
Note that the Maemo 5 platform components (e.g. libraries) are considered
stable by Nokia. Only major issues have a chance of being addressed by Nokia.
MeeGo Handset is where the unstable development is taking place.
Nokia's internal comment:
"The proposed fix is not correct. The correct fix is that the SW should be
prepared to see empty 11th field (E/W) if magnetic variation (10th field) is
This problem has been fixed in Harmattan (the version after Maemo5). This is a
WONTFIX for Maemo5."