summaryrefslogtreecommitdiffstats
path: root/src/dbus-hci.c
Commit message (Collapse)AuthorAgeFilesLines
* Set the Alias only after checking the EIR dataJohan Hedberg2009-01-271-11/+11
|
* Fix bug which prevents emitting DeviceDisappered.Luiz Augusto von Dentz2009-01-211-5/+0
|
* Use MITM for CreatePairedDevice and handle the NoInputNoOuput casesMarcel Holtmann2009-01-161-3/+11
|
* Also check the local IO capability before requiring MITMJohan Hedberg2009-01-161-3/+6
|
* Require MITM for dedicated bonding if the remote side is capable of itJohan Hedberg2009-01-161-2/+8
|
* Use dedicated bonding and no MITM for pairingMarcel Holtmann2009-01-151-4/+1
|
* Add another debug for auth requirements from kernelMarcel Holtmann2009-01-151-3/+5
|
* Fix device creation for incoming security mode 3 connectsJohan Hedberg2009-01-151-2/+4
|
* Fix IO capabilities for non-pairing and pairing casesMarcel Holtmann2009-01-151-12/+14
|
* Don't do reverse SDP for renewed link keysJohan Hedberg2009-01-131-0/+5
| | | | | | Add a flag for a renewed link key to the device struct so that when we get authentication complete we don't do reverse SDP or PropertyChanged(Paired, true) if a new bonding isn't being created.
* Only handle the special case of no bonding and no MITMMarcel Holtmann2009-01-131-2/+2
|
* Follow MITM requirements from remote deviceMarcel Holtmann2009-01-131-0/+4
|
* Fix no-bonding connections in non-bondable modeJohan Hedberg2009-01-131-1/+8
|
* Fix new pairing detection with SSPJohan Hedberg2009-01-131-2/+3
| | | | | Propagate old and new link key type info to dbus-hci.c so it can know whether this is a new pairing or not.
* Add more debug for authentication requirementsMarcel Holtmann2009-01-131-1/+6
|
* Handle active connection using device object.Luiz Augusto von Dentz2009-01-111-30/+7
|
* Move bonding creation to device.c.Luiz Augusto von Dentz2009-01-111-298/+60
|
* Update copyright informationMarcel Holtmann2009-01-011-1/+1
|
* Add missing include of own header fileMarcel Holtmann2008-12-231-0/+1
|
* Fix log messages when there's no agent availableJohan Hedberg2008-12-221-2/+4
|
* Add support for the LegacyPairing propertyJohan Hedberg2008-12-041-2/+14
|
* Fix some more misusage of "return -err;"Marcel Holtmann2008-11-301-4/+4
|
* Make adapter_remove_discov_timeout private to adapter.cJohan Hedberg2008-11-291-2/+0
|
* Clean up scan mode related codeJohan Hedberg2008-11-291-2/+1
|
* Fix bdaddr parameter to adapter_pairing_initiatorJohan Hedberg2008-11-211-1/+1
|
* Introduce Pairable property.Luiz Augusto von Dentz2008-11-201-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 functionsJohan Hedberg2008-11-191-33/+0
|
* Move set_limited_discoverable() from dbus-hci.c to adapter.cJohan Hedberg2008-11-191-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 callsJohan Hedberg2008-10-281-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 resolvedJohan Hedberg2008-10-281-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_sendJohan Hedberg2008-10-241-5/+2
|
* Rename dbus_connection_emit_property_changed to emit_property_changedJohan Hedberg2008-10-161-11/+8
|
* Rename dbus_message_iter_append_dict_entry to dict_append_entryJohan Hedberg2008-10-161-1/+1
|
* 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
|