Mono GPS interface
Schmidt András
asch at freemail.hu
Fri Nov 9 14:29:15 CET 2007
Thanks for all replies!
Currently the Moko port of Yama is only planned and I have no OpenMoko
phone yet.
On PocketPC GPS binding reads the COM port directly and parses NMEA
itslef. The only reason for that is I did not find any documentation of
any gpsd like server on windows Mobile.
>A better idea would be to use the dbus interface of
geoclue[1], gypsy[2] or even gpsd[3].
I think you are right.
Yama's Moko GPS binding is in design phase, so I consider every possible
solution. I will read the documentation links you have sent. The one I
like most is gpsd.
Soeren has written that there is a python binding, the gpsd page says there is also a c and a c++ wrapper. One of these wrappers could be wrapped by a C# library.
It is also possible to create a native C# wrapper (that knows the GPSD TCP protocoll) I believe.
What do you think, which is the best approach?
Schmidt András
Koen Kooi írta:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Schmidt András schreef:
>
>> Hi!
>>
>> I am developing a cross platform Map viewer and GPS navigation
>> application, called YAMA (yamamap.sourceforge.net).
>>
>> It is written in C# and I am going to port it to OpenMoko. Is it
>> possible now to read the GPS information (NMEA data for example) with
>> Mono. If not what sould be implemented to make it possible?
>>
>
> Having application parse NMEA and friend is a BIG waste of battery and
> processing power. A better idea would be to use the dbus interface of
> geoclue[1], gypsy[2] or even gpsd[3]. Otherwise we'll end up with half a
> dozen apps crunching on NMEA seperately instead of having a daemon
> parsing it once and making the position + error available.
>
> regards,
>
> Koen
>
> [1] http://www.freedesktop.org/wiki/Software/GeoClue
> [2] http://svn.o-hand.com/view/gypsy/
> [3] http://gpsd.berlios.de
>
>
> - --
> koen at dominion.kabel.utwente.nl will go go away in december 2007, please
> use k.kooi at student.utwente.nl instead.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iD8DBQFHMziTMkyGM64RGpERAnxgAKC6Ethf92sjFCAutlpYgv4OLYCttACfe9jB
> Q7samGrPBnUwyEn8nlF/PaY=
> =YYjm
> -----END PGP SIGNATURE-----
>
>
>
More information about the openmoko-devel
mailing list