Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix uuid list allocation and freeing bug exposed by previous mem leak fix | Johan Hedberg | 2008-10-10 | 2 | -6/+5 |
| | |||||
* | Fix memory leak | Johan Hedberg | 2008-10-10 | 1 | -0/+1 |
| | |||||
* | Add mechanism for adding new UUIDs from the driver side | Johan Hedberg | 2008-10-09 | 2 | -5/+29 |
| | | | | | | With this patch drivers can notify the core daemon that a device supports some UUID. This is useful in case we don't have a service record for a profile which the remote device initiates a connection for. | ||||
* | Make device driver probe calls take UUID's instead of full records | Johan Hedberg | 2008-10-09 | 5 | -35/+81 |
| | | | | | This is preparation for allowing the device object to be correctly set up even when we don't have the full service records but only the remote UUID's. | ||||
* | Don't remove service discovery timer even if device disconnects | Johan Hedberg | 2008-10-09 | 1 | -5/+0 |
| | | | | | | | | | | Since it's important for us to find out what profiles a device has in order to populate the device object with the correct D-Bus interfaces insist on doing SDP even if got disconnected from the device. Since the timer is only 2 seconds the chances are that device will still be around and the connection will be successfull. This situation can happen if the remote device acts as an initiator for dedicated bonding and brings down the ACL before our timer goes off. | ||||
* | Don't detect profile removal on during reverse service discovery | Johan Hedberg | 2008-10-09 | 3 | -9/+16 |
| | | | | | | | Some devices will hide their service secords when they are connected so we incorrectly think that they have removed support for the profile. A simple solution is not to try to do this detection when we are doing reverse service discovery. | ||||
* | Fix the service discovery-upon-pairing logic | Johan Hedberg | 2008-10-08 | 3 | -11/+20 |
| | | | | | | | | | The original code seems to try to handle the situation of two opposite directed pairing attempts (remote side starts dedicated bonding with us but someone calls CreatePairedDevice on our side at the same time). I'm not sure how likely this actually is or if it can even succeed, but the existing logic in the code was nevertheless wrong. After this patch is at least in theory makes sense to me (and is better commented if I forget what I was thinking when I wrote it). | ||||
* | Fix possible memleak which could happen if bt_search_service fails. | Luiz Augusto von Dentz | 2008-10-08 | 1 | -21/+32 |
| | |||||
* | Fix removing of entries from a GSList | Johan Hedberg | 2008-10-07 | 1 | -2/+4 |
| | |||||
* | Check for NULL return of adapter_find_device | Johan Hedberg | 2008-10-07 | 1 | -0/+4 |
| | | | | | | | | In theory the device might have been removed if the D-Bus client exited before the remote side accepted the pairing. This is just a short term fix since security.c is still storing the link key. In the long run we should move the link key storing to dbus-hci.c and only do it when we get auth complete or connect complete. | ||||
* | Fix bonding process state tracking for auto-accept case | Johan Hedberg | 2008-10-07 | 1 | -0/+3 |
| | | | | | | Without this fix the temporary flag was never cleared (for the auto-accept case) and so the device was incorrectly removed at the end of the bonding process. | ||||
* | Don't allow NULL strings in dictionaries (just ignore them) | Marcel Holtmann | 2008-10-06 | 1 | -0/+6 |
| | |||||
* | Print the UUIDs associated with a record pattern | Marcel Holtmann | 2008-10-06 | 1 | -0/+11 |
| | |||||
* | Remove device discovery timer on device removal. | Luiz Augusto von Dentz | 2008-09-30 | 1 | -0/+3 |
| | |||||
* | Prevent emitting duplicate signals for DiscoverableTimeout property. | Luiz Augusto von Dentz | 2008-09-30 | 1 | -0/+3 |
| | |||||
* | Set device class before storing it | Marcel Holtmann | 2008-09-29 | 1 | -1/+1 |
| | |||||
* | Send alias update when remote name result is available | Marcel Holtmann | 2008-09-29 | 1 | -5/+14 |
| | |||||
* | Add support for setting major and minor class together | Marcel Holtmann | 2008-09-29 | 2 | -1/+21 |
| | |||||
* | Make sure to always add Alias and Icon property | Marcel Holtmann | 2008-09-29 | 3 | -67/+89 |
| | |||||
* | Fix duplicate entries for service UUIDs | Marcel Holtmann | 2008-09-29 | 1 | -8/+17 |
| | |||||
* | Add functions to write major and minor device class | Marcel Holtmann | 2008-09-29 | 2 | -5/+38 |
| | |||||
* | Fix signal emission for Powered and Discoverable | Marcel Holtmann | 2008-09-29 | 1 | -57/+50 |
| | |||||
* | Use global DBusConnection instead of request specific one | Johan Hedberg | 2008-09-28 | 1 | -1/+2 |
| | | | | | | The browse request will not have a DBusConnection associated with it when the browsing was started due to a remotely initated pairing attempt so it's safer to use a global DBusConnection pointer instead. | ||||
* | Fix potential NULL pointer dereference | Johan Hedberg | 2008-09-27 | 1 | -1/+1 |
| | |||||
* | Don't do bonding_process_complete upon link_key_notify | Johan Hedberg | 2008-09-26 | 5 | -11/+75 |
| | |||||
* | Only create D-Bus client listener if there is a client | Johan Hedberg | 2008-09-25 | 1 | -4/+7 |
| | |||||
* | Move more pairing and discovery initiation logic into device.c | Johan Hedberg | 2008-09-25 | 3 | -25/+24 |
| | |||||
* | Get rid of an unnecessary variable | Johan Hedberg | 2008-09-25 | 1 | -2/+1 |
| | |||||
* | Fix another memory leak | Johan Hedberg | 2008-09-25 | 1 | -1/+4 |
| | |||||
* | Fix memory leak | Johan Hedberg | 2008-09-25 | 1 | -1/+3 |
| | |||||
* | Do service discovery also for pairings initiated from the other side | Johan Hedberg | 2008-09-25 | 3 | -44/+65 |
| | |||||
* | Implement first part of CancelDeviceCreation | Johan Hedberg | 2008-09-25 | 1 | -14/+60 |
| | | | | Currently only canceling of CreatePairedDevice is supported | ||||
* | Clean up authentication and service discovery initiation code | Johan Hedberg | 2008-09-25 | 2 | -31/+44 |
| | |||||
* | Code cleanup | Johan Hedberg | 2008-09-25 | 2 | -7/+5 |
| | |||||
* | device_browse should fail if there's a SDP discovery already active | Johan Hedberg | 2008-09-24 | 1 | -0/+4 |
| | |||||
* | Remove old code of CreateBonding. | Luiz Augusto von Dentz | 2008-09-24 | 1 | -8/+2 |
| | |||||
* | Restore 'on' mode on the first time adapter comes up and is on OffMode = DevDown | Luiz Augusto von Dentz | 2008-09-24 | 1 | -3/+15 |
| | |||||
* | Fix crashes with suspend/resume | Marcel Holtmann | 2008-09-25 | 1 | -2/+17 |
| | |||||
* | Use a common timeout for hci commands | Johan Hedberg | 2008-09-23 | 3 | -31/+39 |
| | |||||
* | Merge branch 'for-upstream' of git://gitorious.org/bluez/vudentzs-clone | Marcel Holtmann | 2008-09-24 | 1 | -15/+151 |
|\ | |||||
| * | Introduce RequestSession and ReleaseSession. | Luiz Augusto von Dentz | 2008-09-23 | 1 | -9/+26 |
| | | |||||
| * | Emit Powered and Discoverable properly when adapter comes up and down. | Luiz Augusto von Dentz | 2008-09-23 | 1 | -0/+30 |
| | | |||||
| * | Emit PropertyChanged for Powered and Discoverable. | Luiz Augusto von Dentz | 2008-09-23 | 1 | -2/+31 |
| | | |||||
| * | Make Powered/Discoverable properties changeable via SetProperty. | Luiz Augusto von Dentz | 2008-09-23 | 1 | -0/+48 |
| | | |||||
| * | Make Powered/Discoverable property available in GetProperty. | Luiz Augusto von Dentz | 2008-09-23 | 1 | -4/+14 |
| | | |||||
| * | Mark RequestMode/ReleaseMode as deprecated. | Luiz Augusto von Dentz | 2008-09-23 | 1 | -2/+4 |
| | | |||||
* | | Fix include files from adapter.h | Marcel Holtmann | 2008-09-24 | 1 | -1/+4 |
|/ | |||||
* | Add support for Icon property | Marcel Holtmann | 2008-09-23 | 1 | -8/+72 |
| | |||||
* | Add workaround for a broken carkit | Marcel Holtmann | 2008-09-23 | 1 | -0/+7 |
| | |||||
* | Fix OffMode = DevDown race condition. | Luiz Augusto von Dentz | 2008-09-23 | 2 | -14/+8 |
| |