From 54fca5fc8c04a979317b09ab799a4b9968415086 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 17 Jul 2020 06:39:13 +0200 Subject: dbus java: Add minimalistic toString() implementation; direct_bt toString(): Add uuid for non-native-valid instance's impl. --- java/tinyb/dbus/DBusGattCharacteristic.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'java/tinyb/dbus/DBusGattCharacteristic.java') diff --git a/java/tinyb/dbus/DBusGattCharacteristic.java b/java/tinyb/dbus/DBusGattCharacteristic.java index 6e1e0839..719d4369 100644 --- a/java/tinyb/dbus/DBusGattCharacteristic.java +++ b/java/tinyb/dbus/DBusGattCharacteristic.java @@ -114,4 +114,9 @@ public class DBusGattCharacteristic extends DBusObject implements BluetoothGattC public int removeAllCharacteristicListener() { return 0; // FIXME } + + @Override + public String toString() { + return "Characteristic[uuid "+getUUID()+"]"; + } } -- cgit v1.2.3