Usage questions regarding DBus interface

Eckhart Wörner ewoerner at kde.org
Sun Mar 22 08:03:39 PDT 2009


Hi everybody,

I've been experimenting a bit with the Geoclue DBus Interfaces and ran into 
several problems. Unfortunately the DBus interfaces are not specified that 
well. I've tried to use the C api documentation where applicable.

- Under which circumstances is the MasterClient.SetRequirements call supposed 
to fail? Does it fail if requirements are currently not met? (In my 
experiments, I always get an error when calling SetRequirements (using 
parameters 0, 1000, false, 1023), however, accessing the gpsd position 
provider worked fine)

- What requirements are set as default for the MasterClient? Is it possible to 
call MasterClient.GetPositionProvider without calling 
MasterClient.SetRequirements first?

- In my experiments I experienced MasterClient.GetPositionProvider succeeding 
with 4 empty strings.

Regards,
Eckhart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/geoclue/attachments/20090322/e743f4b2/attachment.pgp 


More information about the GeoClue mailing list