summaryrefslogtreecommitdiffstats
path: root/java/tinyb/dbus/DBusGattCharacteristic.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-07-17 06:39:13 +0200
committerSven Gothel <[email protected]>2020-07-17 06:39:13 +0200
commit54fca5fc8c04a979317b09ab799a4b9968415086 (patch)
treee83202355ac39ddaa0068f6cd1e21074b8fd7f36 /java/tinyb/dbus/DBusGattCharacteristic.java
parent01f42a0665a86558c5c7029ea1cf853a3c95f6c1 (diff)
dbus java: Add minimalistic toString() implementation; direct_bt toString(): Add uuid for non-native-valid instance's impl.
Diffstat (limited to 'java/tinyb/dbus/DBusGattCharacteristic.java')
-rw-r--r--java/tinyb/dbus/DBusGattCharacteristic.java5
1 files changed, 5 insertions, 0 deletions
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()+"]";
+ }
}