summaryrefslogtreecommitdiffstats
path: root/src/device.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix emitting duplicated PropertyChanged signals for device Name property.Luiz Augusto von Dentz2009-02-131-2/+36
|
* Fix resetting trusts on every reboot.Luiz Augusto von Dentz2009-02-121-8/+16
|
* Reset the authentication requirements after bonding completeMarcel Holtmann2009-02-121-2/+1
|
* Reset authentication requirements after simple pairing completeMarcel Holtmann2009-02-121-1/+2
|
* Various coding style cleanupsJohan Hedberg2009-02-061-21/+29
|
* Remember to remove trust upon device removalJohan Hedberg2009-02-061-0/+6
|
* Make sure to always close the L2CAP raw socketJohan Hedberg2009-02-061-6/+9
|
* Don't store the link key for "no bonding" casesJohan Hedberg2009-02-041-0/+2
| | | | | We should not store the link key if either side had "no bonding" as their authentication requirement.
* Don't clear the authentication request completely on SSP completeJohan Hedberg2009-02-041-3/+0
|
* Add support for HCI_Simple_Pairing_Complete eventJohan Hedberg2009-02-031-0/+15
| | | | | | When we are the acceptors of a pairing request and we have used the Agent.DisplayPasskey we need to use the Simple Pairing Complete HCI event for calling Agent.Cancel.
* Fix authentication replies when disconnectedJohan Hedberg2009-02-031-4/+6
| | | | | This patch makes sure that we don't reply to the authentiction requests if we get disconnected before authentication has completed.
* Use MITM for CreatePairedDevice and handle the NoInputNoOuput casesMarcel Holtmann2009-01-161-1/+1
|
* Require MITM for dedicated bonding if the remote side is capable of itJohan Hedberg2009-01-161-0/+5
|
* Use L2CAP_LM for the L2CAP raw socket for nowJohan Hedberg2009-01-161-7/+10
|
* Don't use auth_required. New kernels still need explicit auth requestedJohan Hedberg2009-01-161-6/+1
|
* Don't try to remove bonding->io_id twice (bonding_request_free does it)Johan Hedberg2009-01-161-3/+0
|
* Fix bonding with pre-2.1 devices and newer kernelsJohan Hedberg2009-01-161-0/+5
| | | | | The L2CAP raw connection will return IO_OUT imediately so let the HCI even tracking take care of cleaning up the bonding struct.
* Use dedicated bonding and no MITM for pairingMarcel Holtmann2009-01-151-1/+1
|
* Don't remove linkkeys upon adapter removalJohan Hedberg2009-01-131-2/+3
|
* Add ReverseServiceDiscovery config optionJohan Hedberg2009-01-131-1/+2
| | | | | This option is solely for qualification since the BITE tester in its grand braindeadness doesn't like use doing reverse SDP.
* Add debug statement for reverse service discovery timerMarcel Holtmann2009-01-131-0/+1
|
* Don't do reverse SDP for renewed link keysJohan Hedberg2009-01-131-2/+13
| | | | | | 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.
* Fix dbus_connection_ref/unref usageJohan Hedberg2009-01-131-1/+3
|
* Move l2raw_connect over to device.c (since it's not needed anywhere else)Johan Hedberg2009-01-121-18/+65
|
* Add support for dedicated bonding using BT_SECURITYJohan Hedberg2009-01-121-5/+22
|
* Handle active connection using device object.Luiz Augusto von Dentz2009-01-111-32/+44
|
* Move bonding creation to device.c.Luiz Augusto von Dentz2009-01-111-23/+669
|
* Update copyright informationMarcel Holtmann2009-01-011-1/+1
|
* Make two more local functions staticMarcel Holtmann2008-12-231-1/+1
|
* Add support for the LegacyPairing propertyJohan Hedberg2008-12-041-0/+7
|
* Once a driver has been removed break out and proceed to the next oneJohan Hedberg2008-11-181-3/+3
|
* Fix parameters to debug()Johan Hedberg2008-11-181-1/+1
|
* Prevent duplicated uuids from being probed.Luiz Augusto von Dentz2008-11-171-0/+5
| | | | | | | Since probe takes the device object and the uuid list it make no sense to have duplicated uuid being probed, since the driver wouldn't detect any difference between them (fetching from the cache would return the very same record).
* Make use of g_timeout_add_seconds whenever possible.Luiz Augusto von Dentz2008-11-171-2/+2
|
* Make use of sdp_copy_record.Luiz Augusto von Dentz2008-11-171-10/+1
|
* Emit DeviceCreated for temporary devices.Luiz Augusto von Dentz2008-11-111-8/+0
| | | | | | DeviceCreated should be emitted for temporary devices since there could be meaningful information for user applications. This also affects DeviceRemoved since it now should be emitted for temporary devices too.
* Code cleanup.Luiz Augusto von Dentz2008-11-101-3/+1
|
* Fix bug which makes DeviceCreated to not being emitted.Luiz Augusto von Dentz2008-11-101-12/+12
| | | | | DeviceCreated was not being emitted when the remote device initiate the connection.
* Remove debug prints that were added by mistake in the previous commitJohan Hedberg2008-11-081-12/+2
|
* Remove duplicate call to btd_device_get_recordJohan Hedberg2008-11-081-2/+12
|
* Simplify record uuid matching logicJohan Hedberg2008-11-081-15/+13
|
* Make device_match_patter() more readable by using more intuitive variable namesJohan Hedberg2008-11-081-10/+9
|
* Fix memory leakJohan Hedberg2008-11-081-4/+4
|
* Fix coding styleJohan Hedberg2008-11-081-5/+3
|
* Add support for device pattern drivers.Luiz Augusto von Dentz2008-11-071-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 discoveryJohan Hedberg2008-11-071-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 globalMarcel Holtmann2008-10-311-3/+2
|
* Use i instead of j in for-loopJohan Hedberg2008-10-291-3/+3
|
* Fix duplicate UUID detectionJohan Hedberg2008-10-291-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 searchingJohan Hedberg2008-10-291-0/+3
| | | | | When doing SDP queries try to convert Bluetooth UUID-128 to 32 or 16 bit form.