BluetoothMonitor: Simplify addBluetoothConnection + add haveBluetoothConnection

Review Request #123388 - Created April 16, 2015 and submitted

Information
David Rosca
plasma-nm
master
Reviewers
solid
grulich, lukas, lvsouza

This patch removes all Bluez related code from BluetoothMonitor.
It was used only to check if the device with specified address exists and if it supports nap/dun profile.
The addBluetoothConnection method is currently not used anywhere, so this shouldn't be an issue. If the check is important, we can do one call on Bluedevil DBus interface.

Bluedevil was using this method in Bluez 4 versions, but it got killed during porting to Bluez 5.
NAP connections are now automatically added on successful pairing with the device.

I plan to bring the functionality back in Bluedevil, so that user can manually add a network connection (DUN/NAP) for Bluetooth devices.

lxr search: http://lxr.kde.org/search?v=kf5-qt5&_filestring=&_string=%22addBluetoothConnection%22

Works as before, mobile connection wizard appears when trying to add dun connection.

Issues

  • 0
  • 3
  • 0
  • 3
Description From Last Updated
David Rosca
Jan Grulich
David Rosca
Lamarque Souza
Lamarque Souza
David Rosca
David Rosca
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit b7ddf942153c1d6757361aa90c16decc19cc6345 by David Rosca to branch master.
Loading...