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 | 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 |
| | |||||
* | Redefining device_get_address to take bdaddr_t as parameter. | Alok Barsode | 2008-09-08 | 1 | -9/+4 |
| | |||||
* | Redefining adapter_get_address to take bdaddr_t as parameter. | Alok Barsode | 2008-09-08 | 1 | -28/+47 |
| | |||||
* | Fix memory leak caused by previous SDP browse fix | Johan Hedberg | 2008-09-08 | 1 | -0/+1 |
| | |||||
* | Check for duplicate record handles and not UUIDs | Johan Hedberg | 2008-09-05 | 1 | -2/+9 |
| | |||||
* | Check for duplicate records when discovering services | Johan Hedberg | 2008-09-05 | 1 | -1/+7 |
| | |||||
* | Fix problem which prevents drivers from being probed. | Luiz Augusto von Dentz | 2008-09-05 | 1 | -8/+28 |
| | |||||
* | Move responsibility of freeint the record list to the correct place | Johan Hedberg | 2008-09-05 | 1 | -3/+0 |
| | |||||
* | Renaming struct adapter to struct btd_adapter. | Alok Barsode | 2008-09-04 | 1 | -14/+14 |
| | |||||
* | Adding adapter_search_active_conn_by_bdaddr and | Alok Barsode | 2008-09-03 | 1 | -11/+12 |
| | | | | adapter_search_active_conn_by_handle. | ||||
* | Storage cleanup: avoid Bluetooth address to string conversions | Claudio Takahasi | 2008-08-28 | 1 | -4/+1 |
| | |||||
* | Device.GetProperties() cleanup | Claudio Takahasi | 2008-08-28 | 1 | -8/+7 |
| | |||||
* | Storage cleanup | Claudio Takahasi | 2008-08-28 | 1 | -61/+24 |
| | |||||
* | Cleanup: unnecessary includes and defines, moved some declarations | Claudio Takahasi | 2008-08-26 | 1 | -4/+1 |
| | |||||
* | Cleanup: unnecessary includes | Claudio Takahasi | 2008-08-25 | 1 | -6/+0 |
| |