Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make use of g_timeout_add_seconds whenever possible. | Luiz Augusto von Dentz | 2008-11-17 | 2 | -3/+3 |
| | |||||
* | Make use of sdp_copy_record. | Luiz Augusto von Dentz | 2008-11-17 | 1 | -10/+1 |
| | |||||
* | Merge branch 'for-upstream' of git://gitorious.org/bluez/vudentzs-clone into ↵ | Johan Hedberg | 2008-11-12 | 2 | -16/+15 |
|\ | | | | | | | vudentz | ||||
| * | Emit DeviceCreated for temporary devices. | Luiz Augusto von Dentz | 2008-11-11 | 2 | -16/+15 |
| | | | | | | | | | | | | DeviceCreated should be emitted for temporary devices since there could be meaningful information for user applications. This also affects DeviceRemoved since it now should be emitted for temporary devices too. | ||||
* | | Remove prototype for non-existent function | Johan Hedberg | 2008-11-12 | 1 | -2/+0 |
|/ | |||||
* | Code cleanup. | Luiz Augusto von Dentz | 2008-11-10 | 1 | -3/+1 |
| | |||||
* | Fix bug which makes DeviceCreated to not being emitted. | Luiz Augusto von Dentz | 2008-11-10 | 1 | -12/+12 |
| | | | | | DeviceCreated was not being emitted when the remote device initiate the connection. | ||||
* | Remove debug prints that were added by mistake in the previous commit | Johan Hedberg | 2008-11-08 | 1 | -12/+2 |
| | |||||
* | Remove duplicate call to btd_device_get_record | Johan Hedberg | 2008-11-08 | 1 | -2/+12 |
| | |||||
* | Simplify record uuid matching logic | Johan Hedberg | 2008-11-08 | 1 | -15/+13 |
| | |||||
* | Make device_match_patter() more readable by using more intuitive variable names | Johan Hedberg | 2008-11-08 | 1 | -10/+9 |
| | |||||
* | Fix memory leak | Johan Hedberg | 2008-11-08 | 1 | -4/+4 |
| | |||||
* | Fix coding style | Johan Hedberg | 2008-11-08 | 1 | -5/+3 |
| | |||||
* | Add support for device pattern drivers. | Luiz Augusto von Dentz | 2008-11-07 | 2 | -28/+96 |
| | | | | | | The support is necessary for driver like serial which should be able to register RFCOMM UUID but was unable to do so as we were only matching the profile itself. | ||||
* | Use only L2CAP and PNP UUIDs for initial service discovery | Johan Hedberg | 2008-11-07 | 1 | -107/+30 |
| | | | | | | | | | Since public browsing is unreliable on so many devices and the fixed list cannot cover all possible profiles (e.g. so far it didnt cover OBEX based profiles) use the L2CAP and PNP UUIDs since in practice they have shown to work with practicly all devices (older BlueZ versions is an exception). If these two UUIDs don't return anything use the public browse group as a last resort. | ||||
* | Handle RequestAuthorization on adapter ANY. | Luiz Augusto von Dentz | 2008-11-05 | 1 | -10/+36 |
| | |||||
* | Fix bug on Connected property. | Luiz Augusto von Dentz | 2008-11-03 | 1 | -1/+1 |
| | |||||
* | Make FindAdapter return the any object if present | Marcel Holtmann | 2008-11-01 | 3 | -4/+17 |
| | |||||
* | Add method for requesting/releasing the any adapter object path | Marcel Holtmann | 2008-11-01 | 2 | -1/+29 |
| | |||||
* | Mix the PID into the base path | Marcel Holtmann | 2008-10-31 | 1 | -0/+2 |
| | |||||
* | Move storage of the base path to manager | Marcel Holtmann | 2008-10-31 | 3 | -2/+9 |
| | |||||
* | Make the variable prefix really global | Marcel Holtmann | 2008-10-31 | 2 | -4/+5 |
| | |||||
* | Use i instead of j in for-loop | Johan Hedberg | 2008-10-29 | 1 | -3/+3 |
| | |||||
* | Fix duplicate UUID detection | Johan Hedberg | 2008-10-29 | 1 | -14/+24 |
| | | | | | | The original code didn't work because the continue statement in the innermost for-loop was supposed to act on the outer for-loop (which it obviously doesn't do). | ||||
* | Convert Bluetooth UUID-128 to 32 or 16 bit if possible before searching | Johan Hedberg | 2008-10-29 | 1 | -0/+3 |
| | | | | | When doing SDP queries try to convert Bluetooth UUID-128 to 32 or 16 bit form. | ||||
* | Simplify emit_device_found calls | Johan Hedberg | 2008-10-28 | 1 | -14/+4 |
| | | | | | String types which are NULL will just be ignored so we don't need the extra check for name != NULL. | ||||
* | Send DeviceFound signals also the first time the name gets resolved | Johan Hedberg | 2008-10-28 | 3 | -26/+78 |
| | | | | | | This patch makes sure that we send the DeviceFound with the Name property for newly found pre-2.1 devices when their names gets resolved for the first time. | ||||
* | 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 |
| |