Re: bluez dbus

Marcel Holtmann <[email protected]>
Newsgroups gmane.linux.bluez.devel
Message-ID <[email protected]>
Hi Aleksander,

> would someone please explain to me why does bluez support D-Bus? What 
> are the advantages by using dbus instead of simply linking and using the 
> bluez C library?

a C library has no concept of privilege separation. Every client would
have to be setuid-root since there are tasks that require root
privileges. Without a suid-root client, we would need a message passing
interface within hcid for these task. And guess what D-Bus is.

Also D-Bus provides bindings for almost every language and the license
for a Bluetooth client using D-Bus is no longer bound to the GPL.

Besides that are multiple technical reasons why D-Bus is the right
choice for a Bluetooth API.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.