Skip to content
Snippets Groups Projects
Commit 531889bd authored by akwizgran's avatar akwizgran
Browse files

Log the local Bluetooth address.

parent a1452152
No related branches found
No related tags found
No related merge requests found
...@@ -60,6 +60,9 @@ class BluetoothPlugin extends AbstractPlugin implements StreamPlugin { ...@@ -60,6 +60,9 @@ class BluetoothPlugin extends AbstractPlugin implements StreamPlugin {
synchronized(this) { synchronized(this) {
super.start(); super.start();
localDevice = LocalDevice.getLocalDevice(); localDevice = LocalDevice.getLocalDevice();
if(LOG.isLoggable(Level.INFO))
LOG.info("Local address " +
localDevice.getBluetoothAddress());
} }
} catch(UnsatisfiedLinkError e) { } catch(UnsatisfiedLinkError e) {
// On Linux the user may need to install libbluetooth-dev // On Linux the user may need to install libbluetooth-dev
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment