History log of /haiku/src/servers/bluetooth/LocalDeviceHandler.cpp
Revision Date Author Comments
# 48350f1a 04-May-2013 Jérôme Duval <jerome.duval@gmail.com>

bluetooth_server: some 64 bit fixes


# 7a74a5df 27-Aug-2012 Fredrik Modéen <fredrik@modeen.se>

WIP... Updating Bluetooth.

* Some bugfixes.
* added scan mode read.
* inactivated some printout for now. Was a lot of noice in terminal


# 040fb3ea 24-Apr-2010 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Refactor the handling of Expected and unexpected events.
- Handle all events invovled in the authentication
- LinkKey requests -> reply always negative due the lack a a local linkey database
- LinkKey Notification
- Handle Completed number of packets for future control flow
- Allow clients to issue a command without having to expect an event
- Fix: LocalDevice Handler was stopping the search once the opcode expected did not match
- Cleanup debug window



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36446 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ccf28e4d 07-Jul-2009 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Unregister the device when appears any error Issuing any command. Now at least we realize in userland when a dongle has been unplugged with the first problem appears.
- Move code between parent & children classes of the Accessors
- a bit Styling



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31446 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3fdaa5bf 21-Mar-2009 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Drop R5 compatibility by removing first 4 bytes in the IOCTLs containing the size of the command.
- Implement mechanism GetProperty to retrieve detailed information about the LocalDevice
- Generic BluetoothDevice interface changed and adapted
- Implement ReadLocalVersion to be aware of the bluetooth specification supported by our localdevice



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29639 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e5da0ec5 16-Jan-2009 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

some cleanups and styling by Mika and me

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28915 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0e5e9538 25-Jul-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Make more clear the output when removing fields from a request

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26636 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3205e523 24-Jul-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Implement pairing with a remote bluetooth device
- Fix PincodeWindow to send the pincode commands dissapear after clicking
- Improve the debug output of bluetooth_server
- Handle all needed events for the pairing
- Simple request could send and receive the event before adding the request to the events wanted list. Inverted the order of this sequence.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26614 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d04eb939 09-Jul-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

-Move the launching of the Local Device to an IOCTL from the open hook to be more compatible with the net_stack
-Implement Launch method in the accesors regarding previous comment
-Fix KDL at removing device



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26345 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b42c202a 01-Jul-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Fix typos reported by Mika, and remove whitespaces



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26202 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 291e1143 01-Jul-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Fix EOL



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26199 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 480cccf6 01-Jul-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Fix a serious TODO,
Report the index where the event opcode pair has been found.
Currently server was expecting them to be the first entry of the request



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26198 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ebc5ec19 28-May-2008 François Revol <revol@free.fr>

fix gcc4... and style rules. I won't be the only one paying beers at BeGeistert ;)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25701 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 717c9b00 15-Apr-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Fix correct handling of the command status event
- Fix Removal of specifil event wanted in a given request



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24971 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1ba54b5b 01-Apr-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Fix correct handling of more than one event wanted in a single request



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24732 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fd223db5 30-Mar-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Add capability to the server to handle Command Status events
- Add capability to reply the inquiry started command status



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24700 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 009fac99 08-Mar-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Code & text output cleaning

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24317 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 30f1d1f3 06-Mar-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

bluetooth_server: a really young piece of meat, code not even to be looked at. Bad/fast code in some modules. But better here than in a crashed partition.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24282 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 48350f1a72b010a532b54c818d64e9f69d797bad 04-May-2013 Jérôme Duval <jerome.duval@gmail.com>

bluetooth_server: some 64 bit fixes


# 7a74a5df454197933bc6e80a542102362ee98703 27-Aug-2012 Fredrik Modéen <fredrik@modeen.se>

WIP... Updating Bluetooth.

* Some bugfixes.
* added scan mode read.
* inactivated some printout for now. Was a lot of noice in terminal


# 040fb3eaaca3d80c40a301d6ba8c2b1efb9a6190 24-Apr-2010 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Refactor the handling of Expected and unexpected events.
- Handle all events invovled in the authentication
- LinkKey requests -> reply always negative due the lack a a local linkey database
- LinkKey Notification
- Handle Completed number of packets for future control flow
- Allow clients to issue a command without having to expect an event
- Fix: LocalDevice Handler was stopping the search once the opcode expected did not match
- Cleanup debug window



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36446 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ccf28e4dd1d5314629a2c3c9675cde612345da0c 07-Jul-2009 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Unregister the device when appears any error Issuing any command. Now at least we realize in userland when a dongle has been unplugged with the first problem appears.
- Move code between parent & children classes of the Accessors
- a bit Styling



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31446 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3fdaa5bf72a0bb3d751cb7c82a22c09aa2b2af46 21-Mar-2009 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Drop R5 compatibility by removing first 4 bytes in the IOCTLs containing the size of the command.
- Implement mechanism GetProperty to retrieve detailed information about the LocalDevice
- Generic BluetoothDevice interface changed and adapted
- Implement ReadLocalVersion to be aware of the bluetooth specification supported by our localdevice



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29639 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e5da0ec57e7e7de6640b4cfc98eab2c7856951dc 16-Jan-2009 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

some cleanups and styling by Mika and me

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28915 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0e5e9538e0723fc17c2720bdb46cc9e05a68561d 25-Jul-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Make more clear the output when removing fields from a request

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26636 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3205e523cd3467d8bd63f872eb542d0845e264aa 24-Jul-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Implement pairing with a remote bluetooth device
- Fix PincodeWindow to send the pincode commands dissapear after clicking
- Improve the debug output of bluetooth_server
- Handle all needed events for the pairing
- Simple request could send and receive the event before adding the request to the events wanted list. Inverted the order of this sequence.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26614 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d04eb939af076fdf8632bde41960d10bbd2e76c1 09-Jul-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

-Move the launching of the Local Device to an IOCTL from the open hook to be more compatible with the net_stack
-Implement Launch method in the accesors regarding previous comment
-Fix KDL at removing device



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26345 a95241bf-73f2-0310-859d-f6bbb57e9c96


# b42c202a650d96850275494f40801b020a33ac3e 01-Jul-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Fix typos reported by Mika, and remove whitespaces



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26202 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 291e1143331969af10d504391cdf0ec9e36a2a0a 01-Jul-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Fix EOL



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26199 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 480cccf67bf66c430aecda3a311bf3e981cd7345 01-Jul-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Fix a serious TODO,
Report the index where the event opcode pair has been found.
Currently server was expecting them to be the first entry of the request



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26198 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ebc5ec193f08101cda9daee032d7ab819102950f 28-May-2008 François Revol <revol@free.fr>

fix gcc4... and style rules. I won't be the only one paying beers at BeGeistert ;)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25701 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 717c9b00f201c3307a1f75b31ba4eb629f163c58 15-Apr-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Fix correct handling of the command status event
- Fix Removal of specifil event wanted in a given request



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24971 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1ba54b5b31f18f760c301f0ad4374e265bf4ab84 01-Apr-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Fix correct handling of more than one event wanted in a single request



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24732 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fd223db5ad4d1709cbaf4c4769bab87581ea50f2 30-Mar-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Add capability to the server to handle Command Status events
- Add capability to reply the inquiry started command status



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24700 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 009fac990660d0f697395d351e2c1744a7966f59 08-Mar-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Code & text output cleaning

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24317 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 30f1d1f363a1093509fff5a5e527340f1907f502 06-Mar-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

bluetooth_server: a really young piece of meat, code not even to be looked at. Bad/fast code in some modules. But better here than in a crashed partition.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24282 a95241bf-73f2-0310-859d-f6bbb57e9c96