summaryrefslogtreecommitdiffstats
path: root/src/dbus-hci.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix the service discovery-upon-pairing logicJohan Hedberg2008-10-081-1/+2
| | | | | | | | | 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).
* Check for NULL return of adapter_find_deviceJohan Hedberg2008-10-071-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 caseJohan Hedberg2008-10-071-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.
* Set device class before storing itMarcel Holtmann2008-09-291-1/+1
|
* Send alias update when remote name result is availableMarcel Holtmann2008-09-291-5/+14
|
* Add support for setting major and minor class togetherMarcel Holtmann2008-09-291-1/+19
|
* Make sure to always add Alias and Icon propertyMarcel Holtmann2008-09-291-5/+78
|
* Add functions to write major and minor device classMarcel Holtmann2008-09-291-5/+36
|
* Fix potential NULL pointer dereferenceJohan Hedberg2008-09-271-1/+1
|
* Don't do bonding_process_complete upon link_key_notifyJohan Hedberg2008-09-261-5/+37
|
* Move more pairing and discovery initiation logic into device.cJohan Hedberg2008-09-251-20/+1
|
* Get rid of an unnecessary variableJohan Hedberg2008-09-251-2/+1
|
* Do service discovery also for pairings initiated from the other sideJohan Hedberg2008-09-251-44/+25
|
* Clean up authentication and service discovery initiation codeJohan Hedberg2008-09-251-19/+24
|
* Code cleanupJohan Hedberg2008-09-251-6/+4
|
* Remove old code of CreateBonding.Luiz Augusto von Dentz2008-09-241-8/+2
|
* Use a common timeout for hci commandsJohan Hedberg2008-09-231-12/+13
|
* Fix emitting duplicated DeviceCreate/Devices signals.Luiz Augusto von Dentz2008-09-221-9/+0
|
* Update devices list property when a new device is created/removed.Luiz Augusto von Dentz2008-09-221-0/+2
|
* Redefining device_get_address to take bdaddr_t as parameter.Alok Barsode2008-09-081-9/+9
|
* Redefining adapter_get_address to take bdaddr_t as parameter.Alok Barsode2008-09-081-2/+1
|
* Fix session handling and add a better debug output for them.Luiz Augusto von Dentz2008-09-041-3/+0
|
* Add check for unknown connection handleJohan Hedberg2008-09-041-1/+5
|
* Rename DiscoverDevices to StartDiscovery, CancelDiscovery to StopDiscovery ↵Luiz Augusto von Dentz2008-09-041-9/+18
| | | | and fix logic around Discovering property to reflect when the base band is busy.
* Renaming struct adapter to struct btd_adapter.Alok Barsode2008-09-041-25/+25
|
* Adding adapter_has_discov_sessions.Alok Barsode2008-09-031-1/+1
|
* fixing dbus-hci.c to use adapter_find_device.Alok Barsode2008-09-031-6/+2
|
* Adding adapter_get_bonding_info.Alok Barsode2008-09-031-12/+21
|
* Adding adapter_free_bonding_request.Alok Barsode2008-09-031-47/+2
|
* Adding adapter_search_active_conn_by_bdaddr andAlok Barsode2008-09-031-27/+1
| | | | adapter_search_active_conn_by_handle.
* Adding adapter_remove_active_conn.Alok Barsode2008-09-031-2/+1
|
* Adding adapter_add_active_conn.Alok Barsode2008-09-031-15/+1
|
* Adding adapter_get_agent.Alok Barsode2008-09-031-5/+5
|
* Moving adapter_mode_changed to adapter.c.Alok Barsode2008-09-031-44/+0
|
* Freeing oor_devices list after device discovery.Alok Barsode2008-09-031-5/+0
|
* Make DiscoverDevices to create discover sessions.Luiz Augusto von Dentz2008-08-291-162/+13
|
* Merge branch 'for-upstream' of git://gitorious.org/bluez/aloks-cloneMarcel Holtmann2008-08-291-214/+24
|\
| * Adding adapter_remove_oor_devices.Alok Barsode2008-08-291-12/+2
| |
| * Moving send_out_of_range to adapter.cAlok Barsode2008-08-291-19/+1
| |
| * Adding adapter_update_oor_devices.Alok Barsode2008-08-291-18/+2
| |
| * Moving found_device_cmp to adapter.cAlok Barsode2008-08-291-20/+0
| |
| * Renaming found_device_remove to adapter_remove_found_device andAlok Barsode2008-08-291-20/+1
| | | | | | | | moving it to adapter.c
| * Renaming found_device_add to adapter_add_found_device andAlok Barsode2008-08-291-53/+1
| | | | | | | | moving it to adapter.c
| * Adding adapter_search_found_devices.Alok Barsode2008-08-291-30/+13
| |
| * Freeing found_devices list on end of standard/periodic inquiry.Alok Barsode2008-08-291-37/+4
| |
| * Removing pinq_idle from struct adapter.Alok Barsode2008-08-291-5/+0
| |
* | Merge branch 'for-upstream' of git://gitorious.org/bluez/cktakahasis-cloneMarcel Holtmann2008-08-291-0/+1
|\ \
| * | Storage cleanupClaudio Takahasi2008-08-281-0/+1
| |/
* | Allow non-bondable and outgoing SDP without agentMarcel Holtmann2008-08-291-9/+7
| |
* | Allow outgoing SDP connection without an agentMarcel Holtmann2008-08-291-1/+10
|/