Hi Marcel, Find attached the l2cap patch. 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, > > > >>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 don't really like it, but I already opened my mind to accept such a >patch. However this must be tested a lot so we can be sure that it >doesn't break any state machine. > > > >>I have updated the patch so it should no more break userspace. >> >> > >The RFCOMM part is wrong. You can't set the LM mode of RFCOMM to the >underlaying L2CAP. This means that the authentication/encryption will be >triggered when the L2CAP connection is created and not on the SABM at >RFCOMM level. > >Please drop the RFCOMM part for now and send in patch that only modifies >the L2CAP layer. We need to get this right and tested first anyhow. > >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 > >