linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] cross-compiling bluez-utils.3.1
Date: Wed, 28 Jun 2006 19:33:40 +0200	[thread overview]
Message-ID: <1151516020.26495.10.camel@localhost> (raw)
In-Reply-To: <loom.20060628T190947-394@post.gmane.org>

Hi Steve,

> D-Bus seems like a useful tool for desktops, but possibly overkill 
> and/or unnecessary for embedded systems. Also, as noted before, D-Bus
> will not build out of the box for cross-compiled systems such as ARM.
> Since a lot of embedded systems use Bluetooth, this seems problematic.

I am aware of embedded systems and a long time this was the reason for
keeping D-Bus optional. In the long run it is not worth it and it would
only increase the complexity. Devices like the Nokia 770 proved that we
can handle D-Bus in the embedded area and if there are problems, they
must be addressed in D-Bus.

> What exactly does D-Bus supply in terms of necessary/useful functionality for
> Bluetooth, and how difficult would it be to work around having to use it? (I
> have not taken a serious look at the new release yet, as I'm still working
> on a basic understanding of the 2.21 version).

D-Bus is a message bus (IPC based). Something like RPC and it makes
writing client applications a lot easier. The BlueZ D-Bus API provides a
clean interface to basic Bluetooth tasks. You don't need any knowledge
about HCI anymore. You can also write your application in C, C++, Java,
Python, C# etc. and they don't need to be put under GPL.

Trying to implement your own message bus to avoid the D-Bus dependency
is not worth it. We considered it in the beginning, but this would
increase the complexity without any real benefit.

Regards

Marcel



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2006-06-28 17:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-28  1:36 [Bluez-devel] cross-compiling bluez-utils.3.1 Robert Wlaschin
2006-06-28  3:53 ` Mayank Batra
2006-06-28 17:07   ` Robert Wlaschin
2006-06-29  6:57     ` Mayank Batra
2006-06-28  7:28 ` Marcel Holtmann
2006-06-28 17:11   ` Steve Finney
2006-06-28 17:33     ` Marcel Holtmann [this message]
2006-07-19  4:09       ` ifq
2006-07-19  7:05         ` Rahul Tank

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1151516020.26495.10.camel@localhost \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).