From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <4f9823290809182356x2ad1386bn3de0ebb6ada66789@mail.gmail.com> Date: Fri, 19 Sep 2008 08:56:05 +0200 From: "Reto Bachmann" To: "BlueZ development" In-Reply-To: <1221757910.6782.17.camel@californication> MIME-Version: 1.0 References: <4f9823290809180242j56115a6es3a77ffa21eabbf0a@mail.gmail.com> <1221757910.6782.17.camel@californication> Subject: Re: [Bluez-devel] What happens with bluetooth when connection is interrupted Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1725842046==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============1725842046== Content-Type: multipart/alternative; boundary="----=_Part_14452_13239505.1221807365904" ------=_Part_14452_13239505.1221807365904 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Marcel, 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. So I need to connect the D-Bus signal RemoteDeviceDisconnected to find out that I am not connected anymore? Why shouldn't I poll for a status? Is it just because a signal is sent either way or is the status i ask for not the true status? Regards, Reto > > > 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 > ------=_Part_14452_13239505.1221807365904 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi Marcel,


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.

So I need to connect the D-Bus signal RemoteDeviceDisconnected to find out that I am not connected anymore?

Why shouldn't I poll for a status? Is it just because a signal is sent either way or is the status i ask for not the true status?

Regards,

Reto
 


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

------=_Part_14452_13239505.1221807365904-- --===============1725842046== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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=/ --===============1725842046== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============1725842046==--