callback for L2CAP disconnection
Does BlueZ stack provides a callback mechanism for L2CAP connections/disconnections?
Thank you, Carmine.
-------------------------------------------------------
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
Marcel Holtmann
maintainerHi Carmine,
Quoted 2 lines
Does BlueZ stack provides a callback mechanism for L2CAP connections/disconnections?
what do you mean by callback? The BlueZ L2CAP implementation provides a full sequential packet socket interface.
Regards
Marcel
-------------------------------------------------------
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
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.
---------- Forwarded message ----------
From: Marcel Holtmann <[email protected]>
Date: Wed, 28 Jul 2004 15:31:14 +0200
Subject: Re: [Bluez-devel] callback for L2CAP disconnection
To: Carmine Pirro <[email protected]>
Cc: [email protected]
Hi Carmine,
Quoted 2 lines
Does BlueZ stack provides a callback mechanism for L2CAP connections/disconnections?
what do you mean by callback? The BlueZ L2CAP implementation provides a full sequential packet socket interface.
Regards
Marcel
-------------------------------------------------------
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
Marcel Holtmann
maintainerHi Carmine,
Quoted 4 lines
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.
this is all about socket programming. Take a look at functions like poll(), getsockname(), getpeername() etc.
Regards
Marcel
-------------------------------------------------------
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
Quoted 6 lines · Carmine Pirro
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