Skip to contentSkip to conversation

Can anybody help plz?

Bluez-users vaishali paisal 1 participant 1 message Apr 6, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hello there,

Thanks for the information.And i can now find out the ioctl intearction stuff .But I think that RFCOMM layer is implemented as a kernel module .So it should use the same EXPORT_SYMBOL() concept to communicate with l2cap,why sockets????? Is there any other way in which the kernel modules can interact among themselves?

Regards
vaishali

Quoted 33 lines · On Tue, 05 Apr 2005 Marcel Holtmann wrote :

Hi,

Quoted 9 lines

I have a small problem in understanding the blueZ source code for kernel 2.6.11.I am unable to find out exactly how the kernel implementations of the l2cap layer,hcilayer and rfcomm layer are interacting amongst themselves ?As well as how they interact with the user space libraries?

I have seen some functions in l2cap.c calling functions from hci_core.c which have been put as EXPORT_SYMBOL() in hci_core.c. Is it the way they are communicating or am i missing something?

the module interaction is done by the exported symbols as you already realized. The upper layer modules like RFCOMM, BNEP etc. are using the L2CAP socket interface inside the kernel. All userspace tools are using the ioctls and the socket interfaces.

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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users