summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix GDBusWatchFunction usageJohan Hedberg2008-10-211-2/+9
|
* Unload adapter drivers on adapter removal instead of adapter_stopJohan Hedberg2008-10-201-2/+2
|
* Use dlopen() directly and don't depend on GModuleMarcel Holtmann2008-10-182-39/+32
|
* Fix fallouts due to GDBusWatchFunction changesMarcel Holtmann2008-10-174-4/+4
|
* Add emit_array_property_changed()Johan Hedberg2008-10-164-72/+70
|
* Rename dbus_connection_emit_property_changed to emit_property_changedJohan Hedberg2008-10-165-77/+61
|
* Add dict_append_array()Johan Hedberg2008-10-164-4/+37
|
* Rename dbus_message_iter_append_dict_entry to dict_append_entryJohan Hedberg2008-10-165-39/+23
|
* Export record_from_string() from the storage functionsBastien Nocera2008-10-162-1/+2
| | | | | | Export record_from_string() from the storage functions, so it can be used to generate an sdp_record from a static string in sixpair.c
* Allow dynamic adapter driver registrationClaudio Takahasi2008-10-153-0/+25
|
* Better debug when failing to probe a deviceBastien Nocera2008-10-151-2/+2
| | | | The previous error message was a bit terse.
* Fix build error when SDP_DEBUG is enabledClaudio Takahasi2008-10-142-2/+3
|
* Fix uuid list allocation and freeing bug exposed by previous mem leak fixJohan Hedberg2008-10-102-6/+5
|
* Fix memory leakJohan Hedberg2008-10-101-0/+1
|
* Add mechanism for adding new UUIDs from the driver sideJohan Hedberg2008-10-092-5/+29
| | | | | | With this patch drivers can notify the core daemon that a device supports some UUID. This is useful in case we don't have a service record for a profile which the remote device initiates a connection for.
* Make device driver probe calls take UUID's instead of full recordsJohan Hedberg2008-10-095-35/+81
| | | | | This is preparation for allowing the device object to be correctly set up even when we don't have the full service records but only the remote UUID's.
* Don't remove service discovery timer even if device disconnectsJohan Hedberg2008-10-091-5/+0
| | | | | | | | | | Since it's important for us to find out what profiles a device has in order to populate the device object with the correct D-Bus interfaces insist on doing SDP even if got disconnected from the device. Since the timer is only 2 seconds the chances are that device will still be around and the connection will be successfull. This situation can happen if the remote device acts as an initiator for dedicated bonding and brings down the ACL before our timer goes off.
* Don't detect profile removal on during reverse service discoveryJohan Hedberg2008-10-093-9/+16
| | | | | | | Some devices will hide their service secords when they are connected so we incorrectly think that they have removed support for the profile. A simple solution is not to try to do this detection when we are doing reverse service discovery.
* Fix the service discovery-upon-pairing logicJohan Hedberg2008-10-083-11/+20
| | | | | | | | | 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).
* Fix possible memleak which could happen if bt_search_service fails.Luiz Augusto von Dentz2008-10-081-21/+32
|
* Fix removing of entries from a GSListJohan Hedberg2008-10-071-2/+4
|
* 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.
* Don't allow NULL strings in dictionaries (just ignore them)Marcel Holtmann2008-10-061-0/+6
|
* Print the UUIDs associated with a record patternMarcel Holtmann2008-10-061-0/+11
|
* Remove device discovery timer on device removal.Luiz Augusto von Dentz2008-09-301-0/+3
|
* Prevent emitting duplicate signals for DiscoverableTimeout property.Luiz Augusto von Dentz2008-09-301-0/+3
|
* 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-292-1/+21
|
* Make sure to always add Alias and Icon propertyMarcel Holtmann2008-09-293-67/+89
|
* Fix duplicate entries for service UUIDsMarcel Holtmann2008-09-291-8/+17
|
* Add functions to write major and minor device classMarcel Holtmann2008-09-292-5/+38
|
* Fix signal emission for Powered and DiscoverableMarcel Holtmann2008-09-291-57/+50
|
* Use global DBusConnection instead of request specific oneJohan Hedberg2008-09-281-1/+2
| | | | | | The browse request will not have a DBusConnection associated with it when the browsing was started due to a remotely initated pairing attempt so it's safer to use a global DBusConnection pointer instead.
* Fix potential NULL pointer dereferenceJohan Hedberg2008-09-271-1/+1
|
* Don't do bonding_process_complete upon link_key_notifyJohan Hedberg2008-09-265-11/+75
|
* Only create D-Bus client listener if there is a clientJohan Hedberg2008-09-251-4/+7
|
* Move more pairing and discovery initiation logic into device.cJohan Hedberg2008-09-253-25/+24
|
* Get rid of an unnecessary variableJohan Hedberg2008-09-251-2/+1
|
* Fix another memory leakJohan Hedberg2008-09-251-1/+4
|
* Fix memory leakJohan Hedberg2008-09-251-1/+3
|
* Do service discovery also for pairings initiated from the other sideJohan Hedberg2008-09-253-44/+65
|
* Implement first part of CancelDeviceCreationJohan Hedberg2008-09-251-14/+60
| | | | Currently only canceling of CreatePairedDevice is supported
* Clean up authentication and service discovery initiation codeJohan Hedberg2008-09-252-31/+44
|
* Code cleanupJohan Hedberg2008-09-252-7/+5
|
* device_browse should fail if there's a SDP discovery already activeJohan Hedberg2008-09-241-0/+4
|
* Remove old code of CreateBonding.Luiz Augusto von Dentz2008-09-241-8/+2
|
* Restore 'on' mode on the first time adapter comes up and is on OffMode = DevDownLuiz Augusto von Dentz2008-09-241-3/+15
|
* Fix crashes with suspend/resumeMarcel Holtmann2008-09-251-2/+17
|