== Bluetooth == L2cap under[[BR]] '''network/protocols/l2cap :'''[[BR]] Provides socket interface to have l2cap channels. L2CAP offers connection oriented and connectionless sockets. But bluetooth stack as this point has no interchangeability with TCP/IP, A Higher level Bluetooth profile must be implemented[[BR]] HCI under[[BR]] '''src/add-ons/kernel/bluetooth :'''[[BR]] Here we have 2 modules, one for handling global bluetooth data structures such as connection handles and L2cap channels, and frames H2generic under[[BR]] '''src/add-ons/kernel/drivers/bluetooth'''[[BR]] The USB driver, implementing the H2 transport Bluetooth kit under src/kit/bluetooth C++ implementation based on JSR82 api Bluetooth Server under[[BR]] '''src/servers/bluetooth'''[[BR]] Basically handling opened devices (local connected fisically in our system) and forwaring kit calls to them Bluetooth Preferences under[[BR]] '''src/preferences/bluetooth'''[[BR]] Configuration using the kit Test applications under[[BR]] '''src/tests/kits/bluetooth'''[[BR]] There is a small prototype component which is not here documented below src/add-ons/bluetooth/ResetLocalDevice. Its intention was to be an add-on of bluetooth preferences, So that new HCI commands could be customized by users or external developers. I did not like at the end the idea, I did not find the flexibility I wanted. Links: [http://urnenfeld.blogspot.se/search/label/bluetooth Haiku Bluetooth blog][[BR]] [http://www.palowireless.com/bluetooth/ Bluetooth resorce][[BR]] [http://en.wikipedia.org/wiki/Bluetooth Bluetooth on wikipedia][[BR]] [https://www.bluetooth.org/Technical/Specifications/adopted.htm Bluetooth docs][[BR]]