diff options
author | Sven Gothel <[email protected]> | 2020-07-17 06:39:13 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2020-07-17 06:39:13 +0200 |
commit | 54fca5fc8c04a979317b09ab799a4b9968415086 (patch) | |
tree | e83202355ac39ddaa0068f6cd1e21074b8fd7f36 /java/tinyb/dbus/DBusGattCharacteristic.java | |
parent | 01f42a0665a86558c5c7029ea1cf853a3c95f6c1 (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.java | 5 |
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()+"]"; + } } |