maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   GPS device in N9 and raw NMEA data (https://talk.maemo.org/showthread.php?t=87527)

fri.K 2012-10-23 07:10

GPS device in N9 and raw NMEA data
 
Hi
How can I see raw NMEA data in MeeGo Harmattan?
It is: Integrated Monolithic GPS Receiver BCM4751
Character device: /dev/bcm4751-gps
Serial port: ??? (chow to check it?)
There is something in Qt Mobility/Location but can it print NMEA data?

coderus 2013-05-19 16:00

Re: GPS device in N9 and raw NMEA data
 
up.
it's interesting for me now.
any way to create/obtain gps serial port on N9?
or i should create own virtual port?

javispedro 2013-05-19 16:21

Re: GPS device in N9 and raw NMEA data
 
The GPS does not output NMEA data, but rather MEIF, a Nokia propietary protocol.

You can create NMEA data out of the Qt Mobility location information, though. It's trivial to write. There are several applications on the store (I suppose) which do this in order to emulate a "Bluetooth GPS" device.

I have written such a program at least three different times :) (e.g. http://javispedro.com/blog/2012/03/s...-the-same.html ). Data from Qt Mobility is not very filtered, as you can see on the figure (N9 is green line), so it is actually somewhat useful.

coderus 2013-05-19 16:34

Re: GPS device in N9 and raw NMEA data
 
actually i don't need bluetooth gps device, but sharing nmea port by wifi network to make PC apps use GPS data. (i have no bluetooth =D )
will search for fake nmea port making.

any links will be helpful for me.

nieldk 2013-11-23 21:33

Re: GPS device in N9 and raw NMEA data
 
Quote:

Originally Posted by coderus (Post 1344839)
actually i don't need bluetooth gps device, but sharing nmea port by wifi network to make PC apps use GPS data. (i have no bluetooth =D )
will search for fake nmea port making.

any links will be helpful for me.

Did you locate any info ?
Trying to get gpsd working, but need some info on how to read raw gps data from N9

fri.K 2013-11-24 04:59

Re: GPS device in N9 and raw NMEA data
 
Quote:

Originally Posted by nieldk (Post 1388488)
Trying to get gpsd working, but need some info on how to read raw gps data from N9

What you mean by saying "raw gps data"? NMEA != raw. Probably there is possibility to create pseudo NMEA data from latitude+longitude+altitude+time structure and pass it to fake device/pipe/sth and feeding gpsd from it.
There is tool gpsfake. It can read NMEA from file, and cheat gpsd that it's real device.

nieldk 2013-11-24 05:49

Re: GPS device in N9 and raw NMEA data
 
Quote:

Originally Posted by fri.K (Post 1388524)
What you mean by saying "raw gps data"? NMEA != raw. Probably there is possibility to create pseudo NMEA data from latitude+longitude+altitude+time structure and pass it to fake device/pipe/sth and feeding gpsd from it.
There is tool gpsfake. It can read NMEA from file, and cheat gpsd that it's real device.

thanks, i will look at fakegps and see how it works.
What i need to know, is there a device that can be read in /dev/xxx something where we can read gps data. And how :)

MartinK 2013-11-24 10:58

Re: GPS device in N9 and raw NMEA data
 
For Fremantle, there is the Columbus navigation toolkit, that can stream NMEA data & even work as a Bluetooth or USB serial GPS. :) As N900 also does not provide NMEA data by default, it might work with a few modifications on the N9. :)


All times are GMT. The time now is 16:46.

vBulletin® Version 3.8.8