2004-07-28 14:21:02

by Xavier Garreau

[permalink] [raw]
Subject: Re: [Bluez-devel] callback for L2CAP disconnection

Carmine Pirro wrote:
> The following is what i have to do:
> a device A is connected to a device B.
> When device A disconnects, a process on device B has to print the
> device A bluetooth address on the screen with a appropriate message.
>
> Thank you, Carmine.

Why don't you use select or poll as in any other socket based application ?
You can also filter HCI disconnection events by using raw hci sockets ...

BR,
--
Xavier Garreau <[email protected]>
http://www.xgarreau.org


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel