From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] What happens with bluetooth when connection is interrupted
Date: Thu, 18 Sep 2008 19:11:50 +0200 [thread overview]
Message-ID: <1221757910.6782.17.camel@californication> (raw)
In-Reply-To: <4f9823290809180242j56115a6es3a77ffa21eabbf0a@mail.gmail.com>
Hi Reto,
> I have a little question. I have to develop an Application where it
> can happen that the connection interrupts. I poll the adapter every
> second to see if I am still connected to the specific device. Now I
> have to know if there is a possibility that the bluez-function
> "isConnected(string address)" (D-Bus-Function) returns false but the
> connection itself is recovered by the BT-Stack so the connection would
> still exist.
whatever you do don't poll for a status. You will get a D-Bus signal if
you are connected or paired etc. Check how bluez-gnome is doing it.
Regards
Marcel
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2008-09-18 17:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-18 9:42 [Bluez-devel] What happens with bluetooth when connection is interrupted Reto Bachmann
2008-09-18 12:08 ` rakesh agarwal
2008-09-18 17:11 ` Marcel Holtmann [this message]
2008-09-19 6:56 ` Reto Bachmann
2008-09-19 8:18 ` Patryk Zawadzki
2008-09-22 6:08 ` Reto Bachmann
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=1221757910.6782.17.camel@californication \
--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