Re: Question about Bluez-4.1 Object Paths

Marcel Holtmann <[email protected]> Mon, 11 Aug 2008 21:29:25 +0200
Newsgroups gmane.linux.bluez.devel
Message-ID <1218482965.25524.20.camel@californication>
Hi David,

> After installing 4.1 yesterday, I noticed that the object paths for 
> org.bluez.Adapter and org.bluez.Device have changed: both are now 
> prefixed with "/org/bluez", probably reflecting the recent firestorm 
> with the DBus folks.  So now, the object path for the "zero-th" adapter 
> is not "/hci0", but "/org/bluez/hci0" as it was for the "legacy" DBus 
> interface.

the object path of the adapter and device interfaces need to be
discovered via functions like ListAdapters and ListDevices. Relying on
stable object path names is wrong. I will change them randomly from
release to release if I have to. Any application that will break because
of this is a broken application.

Regards

Marcel



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/