Log the local Bluetooth address.

This commit is contained in:
akwizgran
2011-11-08 14:49:15 +00:00
parent a14521526f
commit 531889bd1f

View File

@@ -60,6 +60,9 @@ class BluetoothPlugin extends AbstractPlugin implements StreamPlugin {
synchronized(this) {
super.start();
localDevice = LocalDevice.getLocalDevice();
if(LOG.isLoggable(Level.INFO))
LOG.info("Local address " +
localDevice.getBluetoothAddress());
}
} catch(UnsatisfiedLinkError e) {
// On Linux the user may need to install libbluetooth-dev