* [Bluez-devel] callback for L2CAP disconnection
@ 2004-07-28 13:08 Carmine Pirro
2004-07-28 13:31 ` Marcel Holtmann
2004-07-28 14:21 ` Xavier GARREAU
0 siblings, 2 replies; 5+ messages in thread
From: Carmine Pirro @ 2004-07-28 13:08 UTC (permalink / raw)
To: bluez-devel
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-devel] callback for L2CAP disconnection
2004-07-28 13:08 [Bluez-devel] callback for L2CAP disconnection Carmine Pirro
@ 2004-07-28 13:31 ` Marcel Holtmann
2004-07-28 14:08 ` Fwd: " Carmine Pirro
2004-07-28 14:21 ` Xavier GARREAU
1 sibling, 1 reply; 5+ messages in thread
From: Marcel Holtmann @ 2004-07-28 13:31 UTC (permalink / raw)
To: Carmine Pirro; +Cc: bluez-devel
Hi Carmine,
> 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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Fwd: [Bluez-devel] callback for L2CAP disconnection
2004-07-28 13:31 ` Marcel Holtmann
@ 2004-07-28 14:08 ` Carmine Pirro
2004-07-28 15:15 ` Marcel Holtmann
0 siblings, 1 reply; 5+ messages in thread
From: Carmine Pirro @ 2004-07-28 14:08 UTC (permalink / raw)
To: 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 <marcel@holtmann.org>
Date: Wed, 28 Jul 2004 15:31:14 +0200
Subject: Re: [Bluez-devel] callback for L2CAP disconnection
To: Carmine Pirro <carrip@gmail.com>
Cc: bluez-devel@lists.sourceforge.net
Hi Carmine,
> 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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-devel] callback for L2CAP disconnection
2004-07-28 13:08 [Bluez-devel] callback for L2CAP disconnection Carmine Pirro
2004-07-28 13:31 ` Marcel Holtmann
@ 2004-07-28 14:21 ` Xavier GARREAU
1 sibling, 0 replies; 5+ messages in thread
From: Xavier GARREAU @ 2004-07-28 14:21 UTC (permalink / raw)
To: bluez-devel
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 <xavier@xgarreau.org>
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Bluez-devel] callback for L2CAP disconnection
2004-07-28 14:08 ` Fwd: " Carmine Pirro
@ 2004-07-28 15:15 ` Marcel Holtmann
0 siblings, 0 replies; 5+ messages in thread
From: Marcel Holtmann @ 2004-07-28 15:15 UTC (permalink / raw)
To: Carmine Pirro; +Cc: BlueZ Mailing List
Hi Carmine,
> 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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-07-28 15:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-28 13:08 [Bluez-devel] callback for L2CAP disconnection Carmine Pirro
2004-07-28 13:31 ` Marcel Holtmann
2004-07-28 14:08 ` Fwd: " Carmine Pirro
2004-07-28 15:15 ` Marcel Holtmann
2004-07-28 14:21 ` Xavier GARREAU
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox