Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix some more misusage of "return -err;" | Marcel Holtmann | 2008-11-30 | 1 | -4/+4 |
| | |||||
* | Make adapter_remove_discov_timeout private to adapter.c | Johan Hedberg | 2008-11-29 | 1 | -2/+0 |
| | |||||
* | Clean up scan mode related code | Johan Hedberg | 2008-11-29 | 1 | -2/+1 |
| | |||||
* | Fix bdaddr parameter to adapter_pairing_initiator | Johan Hedberg | 2008-11-21 | 1 | -1/+1 |
| | |||||
* | Introduce Pairable property. | Luiz Augusto von Dentz | 2008-11-20 | 1 | -0/+8 |
| | | | | | | | | | | | As the name suggest it tells when an adapter enter or leaves bondable mode, it works as follow: Pairable=true & Discoverable=true: limited IAC Pairable=true & Discoverable=false: pairable but inquiry scan disabled Pairable=false & Discoverable=true: inquiry scan enabled (with Generic IAC) but new pairings cannot be created (same as if there was no agent) Pairable=false & Discoverable=false: inquiry scan disabled & non-pairable (as if there was no agent) | ||||
* | Remove unused functions | Johan Hedberg | 2008-11-19 | 1 | -33/+0 |
| | |||||
* | Move set_limited_discoverable() from dbus-hci.c to adapter.c | Johan Hedberg | 2008-11-19 | 1 | -38/+0 |
| | | | | | The function was only used from within adapter.c so it makes sense to have it static inside adapter.c | ||||
* | 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 | 1 | -20/+50 |
| | | | | | | 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 | 1 | -5/+2 |
| | |||||
* | Rename dbus_connection_emit_property_changed to emit_property_changed | Johan Hedberg | 2008-10-16 | 1 | -11/+8 |
| | |||||
* | Rename dbus_message_iter_append_dict_entry to dict_append_entry | Johan Hedberg | 2008-10-16 | 1 | -1/+1 |
| | |||||
* | Fix the service discovery-upon-pairing logic | Johan Hedberg | 2008-10-08 | 1 | -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_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. | ||||
* | 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 | 1 | -1/+19 |
| | |||||
* | Make sure to always add Alias and Icon property | Marcel Holtmann | 2008-09-29 | 1 | -5/+78 |
| | |||||
* | Add functions to write major and minor device class | Marcel Holtmann | 2008-09-29 | 1 | -5/+36 |
| | |||||
* | 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 | 1 | -5/+37 |
| | |||||
* | Move more pairing and discovery initiation logic into device.c | Johan Hedberg | 2008-09-25 | 1 | -20/+1 |
| | |||||
* | Get rid of an unnecessary variable | Johan Hedberg | 2008-09-25 | 1 | -2/+1 |
| | |||||
* | Do service discovery also for pairings initiated from the other side | Johan Hedberg | 2008-09-25 | 1 | -44/+25 |
| | |||||
* | Clean up authentication and service discovery initiation code | Johan Hedberg | 2008-09-25 | 1 | -19/+24 |
| | |||||
* | Code cleanup | Johan Hedberg | 2008-09-25 | 1 | -6/+4 |
| | |||||
* | Remove old code of CreateBonding. | Luiz Augusto von Dentz | 2008-09-24 | 1 | -8/+2 |
| | |||||
* | Use a common timeout for hci commands | Johan Hedberg | 2008-09-23 | 1 | -12/+13 |
| | |||||
* | Fix emitting duplicated DeviceCreate/Devices signals. | Luiz Augusto von Dentz | 2008-09-22 | 1 | -9/+0 |
| | |||||
* | Update devices list property when a new device is created/removed. | Luiz Augusto von Dentz | 2008-09-22 | 1 | -0/+2 |
| | |||||
* | Redefining device_get_address to take bdaddr_t as parameter. | Alok Barsode | 2008-09-08 | 1 | -9/+9 |
| | |||||
* | Redefining adapter_get_address to take bdaddr_t as parameter. | Alok Barsode | 2008-09-08 | 1 | -2/+1 |
| | |||||
* | Fix session handling and add a better debug output for them. | Luiz Augusto von Dentz | 2008-09-04 | 1 | -3/+0 |
| | |||||
* | Add check for unknown connection handle | Johan Hedberg | 2008-09-04 | 1 | -1/+5 |
| | |||||
* | Rename DiscoverDevices to StartDiscovery, CancelDiscovery to StopDiscovery ↵ | Luiz Augusto von Dentz | 2008-09-04 | 1 | -9/+18 |
| | | | | and fix logic around Discovering property to reflect when the base band is busy. | ||||
* | Renaming struct adapter to struct btd_adapter. | Alok Barsode | 2008-09-04 | 1 | -25/+25 |
| | |||||
* | Adding adapter_has_discov_sessions. | Alok Barsode | 2008-09-03 | 1 | -1/+1 |
| | |||||
* | fixing dbus-hci.c to use adapter_find_device. | Alok Barsode | 2008-09-03 | 1 | -6/+2 |
| | |||||
* | Adding adapter_get_bonding_info. | Alok Barsode | 2008-09-03 | 1 | -12/+21 |
| | |||||
* | Adding adapter_free_bonding_request. | Alok Barsode | 2008-09-03 | 1 | -47/+2 |
| | |||||
* | Adding adapter_search_active_conn_by_bdaddr and | Alok Barsode | 2008-09-03 | 1 | -27/+1 |
| | | | | adapter_search_active_conn_by_handle. | ||||
* | Adding adapter_remove_active_conn. | Alok Barsode | 2008-09-03 | 1 | -2/+1 |
| | |||||
* | Adding adapter_add_active_conn. | Alok Barsode | 2008-09-03 | 1 | -15/+1 |
| | |||||
* | Adding adapter_get_agent. | Alok Barsode | 2008-09-03 | 1 | -5/+5 |
| | |||||
* | Moving adapter_mode_changed to adapter.c. | Alok Barsode | 2008-09-03 | 1 | -44/+0 |
| | |||||
* | Freeing oor_devices list after device discovery. | Alok Barsode | 2008-09-03 | 1 | -5/+0 |
| | |||||
* | Make DiscoverDevices to create discover sessions. | Luiz Augusto von Dentz | 2008-08-29 | 1 | -162/+13 |
| | |||||
* | Merge branch 'for-upstream' of git://gitorious.org/bluez/aloks-clone | Marcel Holtmann | 2008-08-29 | 1 | -214/+24 |
|\ | |||||
| * | Adding adapter_remove_oor_devices. | Alok Barsode | 2008-08-29 | 1 | -12/+2 |
| | |