Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix coding style | Johan Hedberg | 2008-11-08 | 1 | -5/+3 | |
| | ||||||
* | Add support for device pattern drivers. | Luiz Augusto von Dentz | 2008-11-07 | 1 | -27/+95 | |
| | | | | | | 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. | |||||
* | Make the variable prefix really global | Marcel Holtmann | 2008-10-31 | 1 | -3/+2 | |
| | ||||||
* | 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. | |||||
* | Use g_dbus_send_message instead of dbus_connection_send | Johan Hedberg | 2008-10-24 | 1 | -4/+2 | |
| | ||||||
* | Fix fallouts due to GDBusWatchFunction changes | Marcel Holtmann | 2008-10-17 | 1 | -1/+1 | |
| | ||||||
* | Add emit_array_property_changed() | Johan Hedberg | 2008-10-16 | 1 | -2/+2 | |
| | ||||||
* | Rename dbus_connection_emit_property_changed to emit_property_changed | Johan Hedberg | 2008-10-16 | 1 | -16/+12 | |
| | ||||||
* | Add dict_append_array() | Johan Hedberg | 2008-10-16 | 1 | -1/+1 | |
| | ||||||
* | Rename dbus_message_iter_append_dict_entry to dict_append_entry | Johan Hedberg | 2008-10-16 | 1 | -19/+10 | |
| | ||||||
* | 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 uuid list allocation and freeing bug exposed by previous mem leak fix | Johan Hedberg | 2008-10-10 | 1 | -6/+4 | |
| | ||||||
* | 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 | 1 | -5/+28 | |
| | | | | | | 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 | 1 | -18/+60 | |
| | | | | | 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 | 1 | -7/+14 | |
| | | | | | | | 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 | 1 | -9/+17 | |
| | | | | | | | | | 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 | |
| | ||||||
* | Remove device discovery timer on device removal. | Luiz Augusto von Dentz | 2008-09-30 | 1 | -0/+3 | |
| | ||||||
* | Make sure to always add Alias and Icon property | Marcel Holtmann | 2008-09-29 | 1 | -62/+9 | |
| | ||||||
* | Fix duplicate entries for service UUIDs | Marcel Holtmann | 2008-09-29 | 1 | -8/+17 | |
| | ||||||
* | 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. | |||||
* | Don't do bonding_process_complete upon link_key_notify | Johan Hedberg | 2008-09-26 | 1 | -2/+32 | |
| | ||||||
* | 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 | 1 | -4/+21 | |
| | ||||||
* | 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 | 1 | -0/+37 | |
| | ||||||
* | Clean up authentication and service discovery initiation code | Johan Hedberg | 2008-09-25 | 1 | -12/+20 | |
| | ||||||
* | device_browse should fail if there's a SDP discovery already active | Johan Hedberg | 2008-09-24 | 1 | -0/+4 | |
| | ||||||
* | Add support for Icon property | Marcel Holtmann | 2008-09-23 | 1 | -8/+72 | |
| | ||||||
* | Update devices list property when a new device is created/removed. | Luiz Augusto von Dentz | 2008-09-22 | 1 | -0/+3 | |
| | ||||||
* | rename get_record() to find_record_in_list() and move to storage.[ch] | David Woodhouse | 2008-09-14 | 1 | -30/+2 | |
| | ||||||
* | Store source information from DID record | Marcel Holtmann | 2008-09-14 | 1 | -5/+8 | |
| | ||||||
* | store pnp info when we receive a pnp record | David Woodhouse | 2008-09-13 | 1 | -0/+18 | |
| | ||||||
* | fix init_browse() | David Woodhouse | 2008-09-12 | 1 | -2/+17 | |
| | | | | | | Change return to continue, so it doesn't just abort completely when it finds one driver asking for a UUID that another driver already wanted, and to eliminate duplicates of the UUIDs in uuid_list[] too... | |||||
* | fix service browsing | David Woodhouse | 2008-09-12 | 1 | -6/+7 | |
| | | | | | | | | | | We were incrementing req->search_uuid every time we call back into browse_cb() -- even when we'd already finished going through the uuid_list[] and were supposed to be handling req->uuids. So for each entry in req->uuids, we'd skip a zero after uuid_list[] and go trawling through random memory, treating it as more UUIDs to search for. | |||||
* | Storing device address as bdaddr_t instead of string. | Alok Barsode | 2008-09-12 | 1 | -70/+66 | |
| | ||||||
* | Fix memory allocation of drivers uuid list to be dinamic as drivers may be ↵ | Luiz Augusto von Dentz | 2008-09-11 | 1 | -7/+17 | |
| | | | | unregistered. | |||||
* | Fix memleak | Luiz Augusto von Dentz | 2008-09-11 | 1 | -1/+1 | |
| | ||||||
* | Fix problem that occurs when a device is removed but agent requests are not ↵ | Luiz Augusto von Dentz | 2008-09-11 | 1 | -0/+5 | |
| | | | | cancelled. | |||||
* | Search for l2cap uuid if no record is found. | Luiz Augusto von Dentz | 2008-09-11 | 1 | -0/+7 | |
| | ||||||
* | Make discovery service routine to search for driver uuids. | Luiz Augusto von Dentz | 2008-09-11 | 1 | -0/+30 | |
| | ||||||
* | Split code of simple search and browse. | Luiz Augusto von Dentz | 2008-09-11 | 1 | -26/+43 | |
| | ||||||
* | Add missing uuids to search if the device doesn't support public browsing. | Luiz Augusto von Dentz | 2008-09-11 | 1 | -0/+5 | |
| |