Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add missing include of own header file | Marcel Holtmann | 2008-12-23 | 1 | -0/+1 |
| | |||||
* | Make two more local functions static | Marcel Holtmann | 2008-12-23 | 2 | -3/+3 |
| | |||||
* | Don't delcare variables after statements | Marcel Holtmann | 2008-12-23 | 1 | -1/+2 |
| | |||||
* | Add header file with prototype declarations | Marcel Holtmann | 2008-12-23 | 1 | -0/+3 |
| | |||||
* | Add braces around debug statements | Marcel Holtmann | 2008-12-23 | 1 | -2/+3 |
| | |||||
* | Cleanup adapters on exit. | Luiz Augusto von Dentz | 2008-12-22 | 6 | -55/+77 |
| | | | | | | | 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. | ||||
* | Remove duplicated declaration of adapter_remove. | Luiz Augusto von Dentz | 2008-12-22 | 1 | -1/+0 |
| | |||||
* | Fix log messages when there's no agent available | Johan Hedberg | 2008-12-22 | 1 | -2/+4 |
| | |||||
* | Change an unnecessary "else if" to a simple "else" | Johan Hedberg | 2008-12-22 | 1 | -1/+1 |
| | |||||
* | Implement RememberPowered config option | Johan Hedberg | 2008-12-22 | 4 | -2/+19 |
| | |||||
* | Use tabs instead of whitespaces | Marcel Holtmann | 2008-12-20 | 2 | -2/+2 |
| | |||||
* | Send DefaultAdapterChanged signal before any properties | Marcel Holtmann | 2008-12-20 | 1 | -2/+2 |
| | |||||
* | Send AdapterRemoved and DeviceRemoved signals last | Marcel Holtmann | 2008-12-20 | 2 | -4/+4 |
| | |||||
* | Fix spelling mistake in property name | Marcel Holtmann | 2008-12-20 | 1 | -1/+1 |
| | |||||
* | Send PropertyChanged signal for added or removed adapters | Marcel Holtmann | 2008-12-20 | 1 | -1/+24 |
| | |||||
* | The signal for Powered change should be the last one | Marcel Holtmann | 2008-12-20 | 1 | -6/+4 |
| | |||||
* | Rename create_bonding_conn_complete more appropriately | Johan Hedberg | 2008-12-18 | 1 | -5/+5 |
| | |||||
* | Add configuration option for DeviceID and do some cleanup | Marcel Holtmann | 2008-12-17 | 2 | -18/+24 |
| | |||||
* | Clarify InitialyPowered config option comment | Johan Hedberg | 2008-12-16 | 1 | -2/+2 |
| | |||||
* | Remove redundant empty line | Johan Hedberg | 2008-12-16 | 1 | -1/+0 |
| | |||||
* | Implement InitiallyPowered config option | Johan Hedberg | 2008-12-16 | 3 | -2/+21 |
| | |||||
* | Allow FindDevice to find temporary devices | Johan Hedberg | 2008-12-09 | 1 | -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. | ||||
* | Allow sending requests to the agent | Marcel Holtmann | 2008-12-09 | 1 | -0/+1 |
| | |||||
* | Use only send_destination statements | Marcel Holtmann | 2008-12-08 | 1 | -24/+3 |
| | |||||
* | Remove trailing whitespace | Johan Hedberg | 2008-12-06 | 1 | -2/+2 |
| | |||||
* | Add deny statements to D-Bus access policy | Marcel Holtmann | 2008-12-05 | 1 | -1/+17 |
| | |||||
* | Remove unused variable | Marcel Holtmann | 2008-12-04 | 1 | -1/+1 |
| | |||||
* | Remove unnecessary and incorrect memset | Johan Hedberg | 2008-12-04 | 1 | -1/+0 |
| | |||||
* | Add support for the LegacyPairing property | Johan Hedberg | 2008-12-04 | 2 | -2/+21 |
| | |||||
* | Add read_remote_eir function | Johan Hedberg | 2008-12-04 | 2 | -0/+33 |
| | |||||
* | Fix agent_create failure check and behavior | Johan Hedberg | 2008-12-03 | 1 | -3/+4 |
| | |||||
* | Fix agent creation checks | Johan Hedberg | 2008-12-03 | 2 | -4/+9 |
| | | | | | Allow the same process (D-Bus name) to own both the default (adapter specific) as well as a device specific agent. | ||||
* | Add support for global properties | Marcel Holtmann | 2008-12-01 | 1 | -0/+37 |
| | |||||
* | Remove outdated comment and fix order of signals | Marcel Holtmann | 2008-12-01 | 1 | -2/+1 |
| | |||||
* | Fix DefaultAdapter not indicanting adapter properly after repluging. | Luiz Augusto von Dentz | 2008-12-01 | 1 | -6/+10 |
| | |||||
* | Get rid of OffMode and always behave like DevDown | Johan Hedberg | 2008-12-01 | 4 | -51/+15 |
| | |||||
* | Stop the security manager if we do a DEVDOWN in adapter_up | Johan Hedberg | 2008-12-01 | 3 | -9/+14 |
| | |||||
* | Start security manager early to catch all HCI events | Johan Hedberg | 2008-12-01 | 1 | -1/+1 |
| | |||||
* | Get rid of the first_up variable and always probe drivers on startup | Johan Hedberg | 2008-12-01 | 1 | -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 logic | Johan Hedberg | 2008-11-30 | 1 | -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_init | Marcel Holtmann | 2008-11-30 | 1 | -4/+4 |
| | |||||
* | Use the correct first_init variable | Johan Hedberg | 2008-11-30 | 1 | -2/+2 |
| | | | | Use the stored first_init since adapter->first_init will always be FALSE here. | ||||
* | Set default adapter on registration | Marcel Holtmann | 2008-11-30 | 1 | -1/+8 |
| | |||||
* | Remove some useless braces | Marcel Holtmann | 2008-11-30 | 1 | -1/+1 |
| | |||||
* | Only retrieve the active connections list on first initialization | Johan Hedberg | 2008-11-30 | 1 | -14/+15 |
| | |||||
* | Only load drivers on the very first initialization of the adapter | Johan Hedberg | 2008-11-30 | 1 | -2/+4 |
| | |||||
* | Fix some more misusage of "return -err;" | Marcel Holtmann | 2008-11-30 | 1 | -4/+4 |
| | |||||
* | Fix handling of errno and return value | Marcel Holtmann | 2008-11-30 | 1 | -42/+40 |
| | |||||
* | Fix uninitialized variable | Johan Hedberg | 2008-11-30 | 1 | -0/+1 |
| | |||||
* | Only keep a message reference for unreplied messages | Johan Hedberg | 2008-11-30 | 1 | -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. |