* [Bluez-devel] bluez dbus
@ 2008-05-10 11:28 Aleksandar Kanchev
2008-05-10 12:57 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Aleksandar Kanchev @ 2008-05-10 11:28 UTC (permalink / raw)
To: bluez-devel
Hello,
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?
Thanks
-------------------------------------------------------------------------
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
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bluez-devel] bluez dbus
2008-05-10 11:28 [Bluez-devel] bluez dbus Aleksandar Kanchev
@ 2008-05-10 12:57 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2008-05-10 12:57 UTC (permalink / raw)
To: BlueZ development
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
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-10 12:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-10 11:28 [Bluez-devel] bluez dbus Aleksandar Kanchev
2008-05-10 12:57 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox