EVT_CONN_COMPLETE not received on HCI socket when RFComm connected
Hello,
I am writing a daemon that watches over bluetooth states (up, down, connected, disconnected, ...) to display this information to user.
I use HCI_FILTER (set to all events) to do this, but when a program make a connection using RFComm I do not receive the EVT_CONN_COMPLETE event (I use BlueZ 2.17 libs and utils). Is it normal ? Is there a way to watch for connection/disconnection for all protocols ?
Regards
Fred
Signature · 19 lines
----------------------------------------------- It is not by improving the oil lamp that one invents the electric bulb! ----------------------------------------------- Danis Frederic PalmSource Europe Software engineer Mail : mailto:[email protected] ----------------------------------------------- ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bluez-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi Fred,
Quoted 7 lines
I am writing a daemon that watches over bluetooth states (up, down, connected, disconnected, ...) to display this information to user. I use
HCI_FILTER(set to all events) to do this, but when a program make a connection using RFComm I do not receive theEVT_CONN_COMPLETEevent (I use BlueZ 2.17 libs and utils).
Is it normal ? Is there a way to watch for connection/disconnection for all protocols ?
you can only watch ACL and SCO connect complete events with it. With the new bluetoothd and the new event mechanism from the kernel we can add something like this. In general it is not possible to what RFCOMM events for connection and disconnection.
Regards
Marcel
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel