summaryrefslogtreecommitdiffstats
path: root/src/adapter.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Move more signal sending and iac setting responsibility over to ↵Johan Hedberg2008-11-291-18/+23
| | | | adapter_mode_changed
* Further set_mode cleanupJohan Hedberg2008-11-291-6/+2
| | | | | | Use the dedicated adapter_remove_discov_timeout function and don't care about sessions when setting the discoverable timer since sessions can't own the discoverable mode anymore.
* Reset correct timeout id variableJohan Hedberg2008-11-291-1/+1
|
* Fix discov_timeout_handler to do WRITE_SCAN_ENABLE asynchronouslyJohan Hedberg2008-11-291-16/+11
|
* Use the write_scan_enable helper function from discov_timeout_handlerJohan Hedberg2008-11-291-52/+34
|
* Fix adapter_up behavior for offmode=devdown caseJohan Hedberg2008-11-291-20/+15
|
* Minor coding style fixJohan Hedberg2008-11-291-1/+1
|
* Make adapter_update_devices private to adapter.cJohan Hedberg2008-11-291-19/+19
|
* Make adapter_remove_discov_timeout private to adapter.cJohan Hedberg2008-11-291-13/+14
|
* Clean up scan mode related codeJohan Hedberg2008-11-291-30/+6
|
* Further cleanup of set_mode()Johan Hedberg2008-11-291-24/+36
| | | | | | The set_mode() function is excessively large so try to split out smaller logical parts of it into their own functions (write_scan_enable in this case).
* Remove unnecessary adapter_set_mode functionJohan Hedberg2008-11-291-11/+3
|
* Fix/cleanup set_mode() and its usageJohan Hedberg2008-11-291-65/+91
|
* Remove unnecessary parenthesisJohan Hedberg2008-11-291-1/+1
|
* Remove usage of the string "limited"Johan Hedberg2008-11-291-2/+1
|
* Remove bogus parameterJohan Hedberg2008-11-291-1/+1
|
* Remove unused variableJohan Hedberg2008-11-291-3/+0
|
* RequestMode end result should depend on the Discoverable propertyJohan Hedberg2008-11-291-4/+7
|
* Mode restoring for offmode=devdown should be per-adapterJohan Hedberg2008-11-291-6/+10
|
* adapter_up() cleanupJohan Hedberg2008-11-291-41/+37
|
* More session related cleanupJohan Hedberg2008-11-291-15/+14
|
* Rename old mode_request() to request_session()Johan Hedberg2008-11-291-19/+5
|
* Remove methods and properties marked as deprecated from Adapter interface.Luiz Augusto von Dentz2008-11-281-75/+0
|
* Introduce PairableTimeout Property and fix use of g_timeout_add.Luiz Augusto von Dentz2008-11-271-73/+156
| | | | | | | PairableTimeout work similarly to DiscoverableTimeout where the user application can set the amount of time to stay in Pairable. It also fixes the use of g_timeout_add to g_timeout_add_seconds for both PairableTimeout and DiscoverableTimeout.
* Introduce Pairable property.Luiz Augusto von Dentz2008-11-201-2/+66
| | | | | | | | | | | 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)
* Move set_limited_discoverable() from dbus-hci.c to adapter.cJohan Hedberg2008-11-191-0/+38
| | | | | The function was only used from within adapter.c so it makes sense to have it static inside adapter.c
* Fix D-Bus signals emmission for CreateDeviceJohan Hedberg2008-11-191-3/+1
|
* Make use of g_timeout_add_seconds whenever possible.Luiz Augusto von Dentz2008-11-171-1/+1
|
* Emit DeviceCreated for temporary devices.Luiz Augusto von Dentz2008-11-111-8/+15
| | | | | | 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.
* 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-011-0/+5
|
* Add method for requesting/releasing the any adapter object pathMarcel Holtmann2008-11-011-0/+25
|
* Move storage of the base path to managerMarcel Holtmann2008-10-311-2/+1
|
* Make the variable prefix really globalMarcel Holtmann2008-10-311-1/+3
|
* Send DeviceFound signals also the first time the name gets resolvedJohan Hedberg2008-10-281-5/+24
| | | | | | 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-8/+4
|
* Fix GDBusWatchFunction usageJohan Hedberg2008-10-211-2/+9
|
* Unload adapter drivers on adapter removal instead of adapter_stopJohan Hedberg2008-10-201-2/+2
|
* Fix fallouts due to GDBusWatchFunction changesMarcel Holtmann2008-10-171-1/+1
|
* Add emit_array_property_changed()Johan Hedberg2008-10-161-3/+3
|
* Rename dbus_connection_emit_property_changed to emit_property_changedJohan Hedberg2008-10-161-40/+31
|
* Add dict_append_array()Johan Hedberg2008-10-161-1/+1
|
* Rename dbus_message_iter_append_dict_entry to dict_append_entryJohan Hedberg2008-10-161-15/+8
|
* Allow dynamic adapter driver registrationClaudio Takahasi2008-10-151-0/+19
|
* Fix uuid list allocation and freeing bug exposed by previous mem leak fixJohan Hedberg2008-10-101-0/+1
|
* Make device driver probe calls take UUID's instead of full recordsJohan Hedberg2008-10-091-7/+1
| | | | | 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 detect profile removal on during reverse service discoveryJohan Hedberg2008-10-091-1/+1
| | | | | | | 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.
* Prevent emitting duplicate signals for DiscoverableTimeout property.Luiz Augusto von Dentz2008-09-301-0/+3
|
* Fix signal emission for Powered and DiscoverableMarcel Holtmann2008-09-291-57/+50
|