Return-Path: Subject: Re: [Bluez-devel] Interwork of RFCOMM and L2CAP layers From: Marcel Holtmann To: bluez-devel@lists.sourceforge.net In-Reply-To: <20041216134138.6218.qmail@web53205.mail.yahoo.com> References: <20041216134138.6218.qmail@web53205.mail.yahoo.com> Content-Type: text/plain Message-Id: <1103227236.6325.12.camel@notepaq> Mime-Version: 1.0 Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu, 16 Dec 2004 21:00:35 +0100 Hi Filipa, > I am not a kernel developer but I would like to do > profiling in BlueZ code as part of my PhD research, > specifically on RFCOMM/L2CAP layers. I took the source > code from my 2.4.22 kernel. > > I was expecting to see some functions on the RFCOMM > files calling functions on the L2CAP files, as RFCOMM > is a layer on top of the L2CAP layer. However I could > not find any (actually there is one: rfcomm_init calls > l2cap_load; but this last function is a dummy > function). > > Could you please tell me where I could find > information on how the RFCOMM and L2CAP layers > interwork in the BlueZ implementation (I, of course, > tryed Google and BlueZ web sites but I could not find > information)? the RFCOMM uses in-kernel socket programming to send or retrieve data from the L2CAP layer. > I would be particularly grateful if someone could give > directions on how to use the BlueZ stack in a simple > user space mode. Check out l2test or rctest. This is all about socket programming. Regards Marcel ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel