History log of /haiku/src/kits/bluetooth/LocalDevice.cpp
Revision Date Author Comments
# 19733b44 12-Apr-2020 Alexander von Gluck IV <kallisti5@unixzen.com>

kits/bluetooth: Style cleanup, add additional vendors

Change-Id: I33ac709fe1dc759bf9b98fe94bd1820278ef33d4
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2471
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 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


# 125183f9 07-May-2010 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Add possibility yo set a custom friendly name to our device. Which will be seen by remotes devices at discovery


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


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

LocalDevice:
- Implement REading of the default timeouts
- Retrieval of all possible LinkKeys stored inside the dongle
- Provided function to force an authentication process with remote devices
RemoteDevice:
- Allow Haiku initiate a fully authenticated connection



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


# 62f5ba00 01-Apr-2010 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Read Local features al LocalDevice constructor
- keep record in UL and KL side



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


# 1f37b29b 25-Dec-2009 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

CheckStyled

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


# 981f1b11 10-Jul-2009 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Add method in LocalDevice class to write its class to the dongle
- Rework and style the DeviceClass class
- Implement option "Identify host as..." in preferences with mentioned method, this should allow us to be visible to more RemoteDevices



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


# b9068dbf 23-Apr-2009 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Change LocalDevice getter for HCI id
- Fix some new some std::nothrow on critical allocations among kit and server
- Some styling



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


# 8dc33083 24-Mar-2009 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Patch by Joerg Meyer
- Confirm some Broadcom will need a reset to work properly
- Add Bluetooth 2.1 strings for getLocalversion
- Styling



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


# 0b5931e0 23-Mar-2009 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Implement client side of previous commit
- Add name for all vendor commands


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29670 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


# 33fe7b32 13-Dec-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Implement retrieval of Device Classes.
- Implement DeviceClass for easy analisys of discovered devices's type.
- Make harder the intantiation of RemoteDevices.



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


# e41b54f5 08-Dec-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

GetAddress and GetFriendlyName does not need a dedicated request in the server side

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


# 20a51138 04-Aug-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Proper const use
- Styling



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


# 9bfe62f9 02-Jul-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Cleapups, Fix memory leaks,

Patch by Mika Lindqvist. Could we give give him Commit access?
I am getting daily patches from him with fixes and new features.



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


# 78163ba3 01-Jul-2008 Rene Gollent <anevilyak@gmail.com>

That should've been eol-style :/


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


# 24f4a20d 18-Jun-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Add UI classes to the build.
Adding some helper methods to the Local and remote devices



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


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

- Run the Looper
- Create Agent from the LocalDevice
- Fix constructors



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


# 5ceb8de4 17-Mar-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

SetDiscoverable method Implementation

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


# 23234fa5 13-Mar-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Supply a supoprt file for functions used among all the kit
Move implementation from LocalDevice for retrieving the BluetoothServer Messenger



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


# 057d0dc0 13-Mar-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Correct misspell adquire->acquire


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


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

Remove warnings and text output

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


# 221b5626 05-Mar-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Add FriendlyName and SimpleRequest interface implementation

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


# 7bdc4995 25-Feb-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Collect the messenger from the correct signature. Allow 0 as HCI ID. Drop correctly the BDADDR to userland.

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


# 308050e8 01-Feb-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Update LocalDevice class with basic bluetooth_server comunication. Server code still to come. Nothing except the driver tested at the moment... I hope after these nothing is broken

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


# 7236d2c1 22-Oct-2007 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Fix coding style

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


# 3dfa1212 21-Oct-2007 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Dummy implementation of the LocalDevice class

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


# 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


# 125183f9e5c136781f71c879faaeab43fdc3ea7b 07-May-2010 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Add possibility yo set a custom friendly name to our device. Which will be seen by remotes devices at discovery


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


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

LocalDevice:
- Implement REading of the default timeouts
- Retrieval of all possible LinkKeys stored inside the dongle
- Provided function to force an authentication process with remote devices
RemoteDevice:
- Allow Haiku initiate a fully authenticated connection



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


# 62f5ba006a08b0df30631375878effaf67ae5dbc 01-Apr-2010 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Read Local features al LocalDevice constructor
- keep record in UL and KL side



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


# 1f37b29b5d4718e190d606cc3ac84eb2ac4e7bc6 25-Dec-2009 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

CheckStyled

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


# 981f1b1135291a4fca290fbdf69910dc2f24abdd 10-Jul-2009 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Add method in LocalDevice class to write its class to the dongle
- Rework and style the DeviceClass class
- Implement option "Identify host as..." in preferences with mentioned method, this should allow us to be visible to more RemoteDevices



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


# b9068dbf95e05818c251ab36f8cb1d8619d2c9be 23-Apr-2009 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Change LocalDevice getter for HCI id
- Fix some new some std::nothrow on critical allocations among kit and server
- Some styling



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


# 8dc33083e8796da478bd4b48a64c150ab0aacb2e 24-Mar-2009 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Patch by Joerg Meyer
- Confirm some Broadcom will need a reset to work properly
- Add Bluetooth 2.1 strings for getLocalversion
- Styling



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


# 0b5931e0248885b6e1faff7e813baa29ba665062 23-Mar-2009 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Implement client side of previous commit
- Add name for all vendor commands


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29670 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


# 33fe7b32dbd27350f238446ce69e4221766f3588 13-Dec-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Implement retrieval of Device Classes.
- Implement DeviceClass for easy analisys of discovered devices's type.
- Make harder the intantiation of RemoteDevices.



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


# e41b54f56c35ae7bd4e5b5dc7f9584aaf49fd86a 08-Dec-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

GetAddress and GetFriendlyName does not need a dedicated request in the server side

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


# 20a5113818c72a1f2d8e39ad9c96288a038c801e 04-Aug-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

- Proper const use
- Styling



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


# 9bfe62f9aab2b54ec3704a2fd29d341c8e54dd64 02-Jul-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Cleapups, Fix memory leaks,

Patch by Mika Lindqvist. Could we give give him Commit access?
I am getting daily patches from him with fixes and new features.



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


# 78163ba34ddc38b7b0320f8f166a90f27e8f26db 01-Jul-2008 Rene Gollent <anevilyak@gmail.com>

That should've been eol-style :/


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


# 24f4a20d25a51043faab4e1c69ca3ee5d8118625 18-Jun-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Add UI classes to the build.
Adding some helper methods to the Local and remote devices



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


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

- Run the Looper
- Create Agent from the LocalDevice
- Fix constructors



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


# 5ceb8de4e9dae1ccd7c91e74f5c464b7591c217f 17-Mar-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

SetDiscoverable method Implementation

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


# 23234fa59dcbd9904e6151d0fb5e1918e2bcd1cf 13-Mar-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Supply a supoprt file for functions used among all the kit
Move implementation from LocalDevice for retrieving the BluetoothServer Messenger



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


# 057d0dc02a89641a28855818f5d2d755f77cbdc6 13-Mar-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Correct misspell adquire->acquire


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


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

Remove warnings and text output

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


# 221b5626d50f79f23926002207480db4921e9cb0 05-Mar-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Add FriendlyName and SimpleRequest interface implementation

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


# 7bdc4995166fe93866a02c462bba048763ec15b3 25-Feb-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Collect the messenger from the correct signature. Allow 0 as HCI ID. Drop correctly the BDADDR to userland.

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


# 308050e89a326b7579243dca3b9c521f26ad210e 01-Feb-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Update LocalDevice class with basic bluetooth_server comunication. Server code still to come. Nothing except the driver tested at the moment... I hope after these nothing is broken

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


# 7236d2c1c85a0c6723d789a3768df069993ed5ec 22-Oct-2007 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Fix coding style

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


# 3dfa1212663b7a444a3d21f29ad0dcc05e09b51e 21-Oct-2007 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Dummy implementation of the LocalDevice class

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