summaryrefslogtreecommitdiffstats
path: root/java/direct_bt/tinyb/DBTGattCharacteristic.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/direct_bt/tinyb/DBTGattCharacteristic.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/direct_bt/tinyb/DBTGattCharacteristic.java')
-rw-r--r--java/direct_bt/tinyb/DBTGattCharacteristic.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/direct_bt/tinyb/DBTGattCharacteristic.java b/java/direct_bt/tinyb/DBTGattCharacteristic.java
index 0233eff9..7a0973f1 100644
--- a/java/direct_bt/tinyb/DBTGattCharacteristic.java
+++ b/java/direct_bt/tinyb/DBTGattCharacteristic.java
@@ -310,7 +310,7 @@ public class DBTGattCharacteristic extends DBTObject implements BluetoothGattCha
@Override
public final String toString() {
if( !isValid() ) {
- return "Characteristic" + "\u271D" + "[handle 0x"+Integer.toHexString(handle)+"]";
+ return "Characteristic" + "\u271D" + "[uuid "+getUUID()+", handle 0x"+Integer.toHexString(handle)+"]";
}
return toStringImpl();
}