Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use g_dbus_send_message instead of dbus_connection_send | Johan Hedberg | 2008-10-24 | 6 | -39/+15 |
| | |||||
* | Use g_clear_error(&err) instead of g_error_free(err); err = NULL | Johan Hedberg | 2008-10-24 | 1 | -12/+6 |
| | |||||
* | Fix GDBusWatchFunction usage | Johan Hedberg | 2008-10-21 | 1 | -2/+9 |
| | |||||
* | Unload adapter drivers on adapter removal instead of adapter_stop | Johan Hedberg | 2008-10-20 | 1 | -2/+2 |
| | |||||
* | Use dlopen() directly and don't depend on GModule | Marcel Holtmann | 2008-10-18 | 2 | -39/+32 |
| | |||||
* | Fix fallouts due to GDBusWatchFunction changes | Marcel Holtmann | 2008-10-17 | 4 | -4/+4 |
| | |||||
* | Add emit_array_property_changed() | Johan Hedberg | 2008-10-16 | 4 | -72/+70 |
| | |||||
* | Rename dbus_connection_emit_property_changed to emit_property_changed | Johan Hedberg | 2008-10-16 | 5 | -77/+61 |
| | |||||
* | Add dict_append_array() | Johan Hedberg | 2008-10-16 | 4 | -4/+37 |
| | |||||
* | Rename dbus_message_iter_append_dict_entry to dict_append_entry | Johan Hedberg | 2008-10-16 | 5 | -39/+23 |
| | |||||
* | Export record_from_string() from the storage functions | Bastien Nocera | 2008-10-16 | 2 | -1/+2 |
| | | | | | | Export record_from_string() from the storage functions, so it can be used to generate an sdp_record from a static string in sixpair.c | ||||
* | Allow dynamic adapter driver registration | Claudio Takahasi | 2008-10-15 | 3 | -0/+25 |
| | |||||
* | Better debug when failing to probe a device | Bastien Nocera | 2008-10-15 | 1 | -2/+2 |
| | | | | The previous error message was a bit terse. | ||||
* | Fix build error when SDP_DEBUG is enabled | Claudio Takahasi | 2008-10-14 | 2 | -2/+3 |
| | |||||
* | 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 |
| |