summaryrefslogtreecommitdiffstats
path: root/src/adapter.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't hide temporary devices on Adapter.ListDevices method.Luiz Augusto von Dentz2009-03-211-3/+0
| | | | Adapter.ListDevices should be consistent with Adapter.Devices property.
* Fix CancelDeviceCreation error to match the API descriptionJohan Hedberg2009-03-191-2/+2
|
* Add "Class" property to org.bluez.Adapter interface.Bea Lam2009-03-151-0/+13
|
* Don't call read scan enable if the adapter is powering downJohan Hedberg2009-02-271-0/+10
| | | | | | | When powering down we explicitly set the scan mode to 0 before calling the HCI_DEVDOWN ioctl. To avoid HCI command timeouts track this situation and don't call read scan enable in dbus-hci.c when the command complete for the write scan enable arrives.
* Fix typoJohan Hedberg2009-02-241-1/+1
|
* Convert pairing code to use BtIOJohan Hedberg2009-02-211-2/+2
|
* Log probe failures.Luiz Augusto von Dentz2009-02-191-13/+18
|
* Only storage class of device if it changedMarcel Holtmann2009-02-141-0/+5
|
* Fix changing adapter's name while Powered is False.Luiz Augusto von Dentz2009-02-131-2/+2
| | | | Changing name while in "off" mode was not affecting GetProperties return.
* Fix not handling properly local name changes.Luiz Augusto von Dentz2009-02-121-5/+24
| | | | | | | Changing adapter name via dbus was emitting PropertyChanged right away. This not only can cause consistency problems but also makes bluetoothd to not emit a PropertyChanged when a third application such as hciconfig changes the adapter name.
* Fix resetting trusts on every reboot.Luiz Augusto von Dentz2009-02-121-6/+0
|
* Various coding style cleanupsJohan Hedberg2009-02-061-46/+61
|
* Fix authentication replies when disconnectedJohan Hedberg2009-02-031-1/+1
| | | | | This patch makes sure that we don't reply to the authentiction requests if we get disconnected before authentication has completed.
* Fix bug which prevents emitting DeviceDisappered.Luiz Augusto von Dentz2009-01-211-32/+30
|
* Use hci_send_req instead of hci_send_cmd for write_scan_enableJohan Hedberg2009-01-141-2/+9
|
* Explicitly disable scans before powering adapter downJohan Hedberg2009-01-141-0/+2
|
* Fix LIAC setting while toggling Pairable property when Discoverable=trueJohan Hedberg2009-01-141-0/+4
|
* Don't remove linkkeys upon adapter removalJohan Hedberg2009-01-131-2/+2
|
* Clear authentication info upon disconnectJohan Hedberg2009-01-131-0/+3
|
* RemoveDevice() should also update adapter->connectionsJohan Hedberg2009-01-131-0/+1
|
* Handle active connection using device object.Luiz Augusto von Dentz2009-01-111-108/+86
|
* Move bonding creation to device.c.Luiz Augusto von Dentz2009-01-111-663/+31
|
* Update copyright informationMarcel Holtmann2009-01-011-1/+1
|
* Make two more local functions staticMarcel Holtmann2008-12-231-2/+2
|
* Cleanup adapters on exit.Luiz Augusto von Dentz2008-12-221-1/+15
| | | | | | | When bluetoothd is terminated any remaining registered adapters should be unregistered (including proper D-Bus signal emition) and have their drivers removed. The adapters should also be brought down unless they were already up upon initialization.
* Implement RememberPowered config optionJohan Hedberg2008-12-221-2/+6
|
* Use tabs instead of whitespacesMarcel Holtmann2008-12-201-1/+1
|
* Send AdapterRemoved and DeviceRemoved signals lastMarcel Holtmann2008-12-201-2/+2
|
* The signal for Powered change should be the last oneMarcel Holtmann2008-12-201-6/+4
|
* Rename create_bonding_conn_complete more appropriatelyJohan Hedberg2008-12-181-5/+5
|
* Implement InitiallyPowered config optionJohan Hedberg2008-12-161-2/+6
|
* Allow FindDevice to find temporary devicesJohan Hedberg2008-12-091-5/+0
| | | | | | | | E.g. in the case of an incoming object push request we may not be paired with the remote device and therefore the temporary flag will be set. However, if there's a "receive file" UI active it will most likely want to show at least the remote device name and therefore it should be possible to use FindDevice.
* Fix agent_create failure check and behaviorJohan Hedberg2008-12-031-3/+4
|
* Fix agent creation checksJohan Hedberg2008-12-031-0/+9
| | | | | Allow the same process (D-Bus name) to own both the default (adapter specific) as well as a device specific agent.
* Remove outdated comment and fix order of signalsMarcel Holtmann2008-12-011-2/+1
|
* Get rid of OffMode and always behave like DevDownJohan Hedberg2008-12-011-30/+15
|
* Stop the security manager if we do a DEVDOWN in adapter_upJohan Hedberg2008-12-011-7/+9
|
* Get rid of the first_up variable and always probe drivers on startupJohan Hedberg2008-12-011-14/+11
| | | | | | | | This patch reorganizes the adapter_up function logic a little bit so that we probe all drivers even if we are going to do a DEVDOWN ioctl afterwards due to a previously stored off mode (in the OffMode=DevDown case). An extra benefit is that we don't need the second init tracking variable in the adapter struct anymore.
* ix adapter initialization logicJohan Hedberg2008-11-301-9/+11
| | | | | | | | The original variable that was used for the initial DEVDOWN ioctl when OffMode=DevDown and the stored mode is "off" can't really be used elsewhere since it gets reset after calling the ioctl even though e.g. drivers haven't been probed yet. This patch renames the old variable (to first_up) and adds a new one for tracking when the adapter initialization has fully been completed.
* Use more cleaner way of setting first_initMarcel Holtmann2008-11-301-4/+4
|
* Use the correct first_init variableJohan Hedberg2008-11-301-2/+2
| | | | Use the stored first_init since adapter->first_init will always be FALSE here.
* Only retrieve the active connections list on first initializationJohan Hedberg2008-11-301-14/+15
|
* Only load drivers on the very first initialization of the adapterJohan Hedberg2008-11-301-2/+4
|
* Fix handling of errno and return valueMarcel Holtmann2008-11-301-42/+40
|
* Fix uninitialized variableJohan Hedberg2008-11-301-0/+1
|
* Only keep a message reference for unreplied messagesJohan Hedberg2008-11-301-16/+24
| | | | | | To avoid confusion and doing a dbus_message_new_method_return more than once it's better to just store the dbus client bus name instead of the whole message after the reply to it has been sent.
* Limit setting pairable property to when the adapter is upJohan Hedberg2008-11-301-0/+3
|
* Fix sending the Pairable propertyJohan Hedberg2008-11-301-6/+18
|
* Fix Powered property change sending for different offmodesJohan Hedberg2008-11-301-4/+6
|
* Send WRITE_SCAN_ENABLE asynchronously from set_mode()Johan Hedberg2008-11-301-42/+2
|