Hi Marcel, This patch can help us to develop an application to create pairing between devices with no need to be root. Further more, in Handsfree profile it is written that : "If both devices support authentication and encryption, the application on either device may require its use." I have updated the patch so it should no more break userspace. Regards Fred ----------------------------------------------- It is not by improving the oil lamp that one invents the electric bulb! ----------------------------------------------- Danis Frederic PalmSource Europe Software engineer Mail : mailto:frederic.danis@palmsource.com ----------------------------------------------- Marcel Holtmann wrote: >Hi Fred, > > > >>The following patch adds supports of LM_AUTH and LM_ENCRYPT flags for outgoing L2CAP and RFCOMM sockets. >> >> > >I am still not sure if LM_AUTH and LM_ENCRYPT support is needed for >outgoing connection, but I would add it if the implementation is sane >and it is tested enough. > > > >>diff -ruN linux-2.6.12.5/include/net/bluetooth/bluetooth.h linux-2.6.12.5-fda/include/net/bluetooth/bluetooth.h >>--- linux-2.6.12.5/include/net/bluetooth/bluetooth.h 2005-08-15 02:20:18.000000000 +0200 >>+++ linux-2.6.12.5-fda/include/net/bluetooth/bluetooth.h 2005-08-25 10:43:47.000000000 +0200 >>@@ -73,6 +73,7 @@ >> BT_LISTEN, >> BT_CONNECT, >> BT_CONNECT2, >>+ BT_CONNECT3, >> BT_CONFIG, >> BT_DISCONN, >> BT_CLOSED >> >> > >Without fully looking at the rest of your patch, I can tell you that we >can't do it this way. This will break the userspace, because we use the >same enum in userspace. Please find another way. > >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 >Bluez-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/bluez-devel > >