| 1 | |
| 2 | == Bluetooth == |
| 3 | |
| 4 | '''L2cap under network/protocols/l2cap :'''[[BR]] |
| 5 | 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 |
| 6 | |
| 7 | HCI under |
| 8 | '''src/add-ons/kernel/bluetooth :'''[[BR]] |
| 9 | Here we have 2 modules, one for handling global bluetooth data structures such as connection handles and L2cap channels, and frames |
| 10 | |
| 11 | H2generic under |
| 12 | '''src/add-ons/kernel/drivers/bluetooth'''[[BR]] |
| 13 | The USB driver, implementing the H2 transport Bluetooth kit under src/kit/bluetooth |
| 14 | C++ implementation based on JSR82 api |
| 15 | |
| 16 | Bluetooth Server under |
| 17 | '''src/servers/bluetooth'''[[BR]] |
| 18 | Basically handling opened devices (local connected fisically in our system) and forwaring kit calls to them |
| 19 | |
| 20 | |
| 21 | Bluetooth Preferences under |
| 22 | '''src/preferences/bluetooth'''[[BR]] |
| 23 | Configuration using the kit |
| 24 | |
| 25 | |
| 26 | Test applications under |
| 27 | '''src/tests/kits/bluetooth'''[[BR]] |
| 28 | |
| 29 | 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. |
| 30 | |
| 31 | Links: |
| 32 | [http://urnenfeld.blogspot.se/search/label/bluetooth Haiku Bluetooth blog] |