From: Cris <ml133@netpole.com.br>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Automatic Object Pushing when Devices Enter Range
Date: Thu, 5 Oct 2006 08:27:59 -0300 [thread overview]
Message-ID: <20061005082759.76270976.ml133@netpole.com.br> (raw)
In-Reply-To: <1160032959.15505.5.camel@localhost>
On Thu, 05 Oct 2006 09:22:39 +0200
Marcel Holtmann <marcel@holtmann.org> wrote:
[...]
> The only sane way of doing this is over the D-Bus API
[...]
> The D-Bus is not as bad everybody tries to tell you. For the hcid for
> example we only need the additional D-Bus library:
Nobody told me, even when I asked (but I was told to be patient
instead of getting an answer). This is my own conclusion after many
weeks of work. Try to install and use dbus in 8 or 16 MB RAM system
with about 300MB permanent storage. This is a small device, not a
desktop.
What is sane about having a function block, doing nothing but waiting,
sending requests back and forth with 3 daemons, and all those message
queues and forked children, when everything can stay in a simple main
loop? Even the use of glib doesn't make any sense here; glib's
interface exists to be portable even with Windows. This is something
you just can't afford on small systems. While all this makes sense in
other contexts, bluetooth is clearly designed for small devices, where
that is neither clean nor sane. Bluez userland is for desktop computers
or higher, and up to v3.4 (I didn't see 3.5 yet) not appropriate when
there is a need to use next to all what bluetooth has to offer,
specially in terms of multitasking.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
prev parent reply other threads:[~2006-10-05 11:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-04 21:19 [Bluez-users] Automatic Object Pushing when Devices Enter Range bb.bluez
2006-10-05 0:29 ` Cris
2006-10-05 1:20 ` Benn
2006-10-05 11:10 ` Cris
2006-10-05 7:22 ` Marcel Holtmann
2006-10-05 11:27 ` Cris [this message]
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=20061005082759.76270976.ml133@netpole.com.br \
--to=ml133@netpole.com.br \
--cc=bluez-users@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