summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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-072-28/+96
| | | | | | 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.
* Handle RequestAuthorization on adapter ANY.Luiz Augusto von Dentz2008-11-051-10/+36
|
* Fix bug on Connected property.Luiz Augusto von Dentz2008-11-031-1/+1
|
* Make FindAdapter return the any object if presentMarcel Holtmann2008-11-013-4/+17
|
* Add method for requesting/releasing the any adapter object pathMarcel Holtmann2008-11-012-1/+29
|
* Mix the PID into the base pathMarcel Holtmann2008-10-311-0/+2
|
* Move storage of the base path to managerMarcel Holtmann2008-10-313-2/+9
|
* Make the variable prefix really globalMarcel Holtmann2008-10-312-4/+5
|
* 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.
* 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-283-26/+78
| | | | | | 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-246-39/+15
|
* Use g_clear_error(&err) instead of g_error_free(err); err = NULLJohan Hedberg2008-10-241-12/+6
|
* 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
|