summaryrefslogtreecommitdiffstats
path: root/src/device.c
Commit message (Collapse)AuthorAgeFilesLines
* Attempt SDP a second time if we get ECONNRESETJohan Hedberg2009-03-181-2/+8
| | | | | | | When acting as acceptors for pairing and doing reverse SDP we might get ECONNRESET if the remote device drops the ACL just as we're starting our SDP connect. This patch adds a second SDP connect attempt if we get this specific error.
* Include the Paired property in the DeviceFound signalsJohan Hedberg2009-03-151-1/+1
| | | | | | Include the Paired property in the DeviceFound signals so that a UI doesn't have to do any special lookups to know if the device is paired or not.
* Only call g_io_channel_shutdown if the connection was actually successfullJohan Hedberg2009-02-241-1/+2
|
* Return proper error replies to DiscoverServicesJohan Hedberg2009-02-231-2/+17
|
* Fix bt_io_get parameter passingJohan Hedberg2009-02-221-1/+1
|
* Convert pairing code to use BtIOJohan Hedberg2009-02-211-136/+61
|
* Make use of g_io_channel_shutdown instead of deprecated g_io_channel_close.Luiz Augusto von Dentz2009-02-191-4/+4
|
* 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
|