Re: [Bluez-devel] What happens with bluetooth when connection is interrupted

Reto Bachmann
2008-09-19T06:56:05Z

[-- Attachment #1.1: Type: text/plain, Size: 997 bytes --]

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
>

[-- Attachment #1.2: Type: text/html, Size: 1782 bytes --]