From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Timeout for connections
Date: Mon, 04 Dec 2006 09:45:21 +0100 [thread overview]
Message-ID: <1165221921.12640.11.camel@localhost> (raw)
In-Reply-To: <b5dccebe0612040036w43593c77xcb45bdef114ca95f@mail.gmail.com>
Hi Mikael,
> I ended up creating a little helper program that I run suid root that
> sets the Page Timeout on startup of my application. I also use this
> program to set the local name and try to force the inquiry mode to get
> RSSI. I have a feeling that you won't like hearing about this at all
> and you will probably take the opportunity to tell me I should use
> D-BUS. Something which I'm thinking about more and more. The problem
> with D-BUS is just that there is no Obex service available, and I
> don't want half my application using D-BUS and the other half not. So
> then I'm thinking more and more about writing a D-BUS Obex service.
> But before I do that it would be nice to get some feedback on the
> thoughts I have for that API. Where would be a good place to get that
> feedback? This mailing list is certanly one place, but what more is
> there?
first of all, you should call "man hcid.conf" and check the options for
setting the name and pageto. The inquiry mode is selected automatically
with bluez-utils-3.x and it picks the best one of course. In case of
Bluetooth 2.1 hardware this would mean of course extended inquiry. For
the bluez-utils-2.x we had the inqmode option to do it manually.
Even using D-Bus only for half of the tasks is still worth using D-Bus
for whatever possible. You can actually script most of the stuff very
easily with dbus-send or a small python program.
And yes, I have plans for a simple OBEX service that allows you to
handle incoming files, but also send files. However I have no idea when
I will get around to write that service. Feel free to start with it.
Regards
Marcel
-------------------------------------------------------------------------
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-12-04 8:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-03 18:30 [Bluez-users] Timeout for connections Mikael Lindqvist
2006-12-03 18:40 ` Marcel Holtmann
2006-12-03 19:22 ` Mikael Lindqvist
2006-12-03 21:15 ` Marcel Holtmann
2006-12-04 8:36 ` Mikael Lindqvist
2006-12-04 8:45 ` Marcel Holtmann [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=1165221921.12640.11.camel@localhost \
--to=marcel@holtmann.org \
--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