From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <223378410809180508r81687as3d67bdd66d8b754@mail.gmail.com> Date: Thu, 18 Sep 2008 17:38:37 +0530 From: "rakesh agarwal" To: "BlueZ development" In-Reply-To: <4f9823290809180242j56115a6es3a77ffa21eabbf0a@mail.gmail.com> MIME-Version: 1.0 References: <4f9823290809180242j56115a6es3a77ffa21eabbf0a@mail.gmail.com> 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="===============1124646352==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============1124646352== Content-Type: multipart/alternative; boundary="----=_Part_20031_14528572.1221739717686" ------=_Part_20031_14528572.1221739717686 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi to all, Can anyone post a sample program for bonding with bluetooth device in C language. Regards, Rakesh On Thu, Sep 18, 2008 at 3:12 PM, Reto Bachmann wrote: > Hi to all, > > 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. > > Kind regards, > Reto > > ------------------------------------------------------------------------- > 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_20031_14528572.1221739717686 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi to all,

Can anyone post a sample program for bonding with bluetooth device in C language.

Regards,
Rakesh


On Thu, Sep 18, 2008 at 3:12 PM, Reto Bachmann <reto.bachmann@gmail.com> wrote:
Hi to all,

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.

Kind regards,
Reto

-------------------------------------------------------------------------
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_20031_14528572.1221739717686-- --===============1124646352== 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=/ --===============1124646352== 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 --===============1124646352==--