summaryrefslogtreecommitdiffstats
path: root/java/tinyb/dbus/DBusDevice.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/tinyb/dbus/DBusDevice.java')
-rw-r--r--java/tinyb/dbus/DBusDevice.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/java/tinyb/dbus/DBusDevice.java b/java/tinyb/dbus/DBusDevice.java
index ac12d01e..023607ed 100644
--- a/java/tinyb/dbus/DBusDevice.java
+++ b/java/tinyb/dbus/DBusDevice.java
@@ -255,4 +255,9 @@ public class DBusDevice extends DBusObject implements BluetoothDevice
ts_creation = BluetoothUtils.getCurrentMilliseconds();
}
final long ts_creation;
+
+ @Override
+ public String toString() {
+ return "Device[address["+getAddress()+", "+getAddressType()+"], '"+getName()+"']";
+ }
}