gps backend issues
jhkukkon at cc.hut.fi
Wed Jul 11 11:36:15 PDT 2007
Ok, I've uploaded the changes under discussion here.
* libgpsbt is now an optional dependency
* backend sets a gpsd callback on startup. This callback emits a
geoclue_position_current_position_changed signal. Unfortunately the
gpsd callback system doesn't carry any "clientdata" with it -- I had
to make the GeocluePosition object a global variable. Better solutions
* current_position does not query gpsd at all, it just reads the data
structure gpsdata (which gets updated because of the callback).
This is fast and af far as I can see pretty safe: I do check that
the gps is online and has a fix...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 307 bytes
Desc: OpenPGP digital signature
Url : http://lists.freedesktop.org/archives/geoclue/attachments/20070711/1f637ae0/attachment.pgp
More information about the GeoClue