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/direct_bt/tinyb/DBTGattCharacteristic.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/direct_bt/tinyb/DBTGattCharacteristic.java')
-rw-r--r-- | java/direct_bt/tinyb/DBTGattCharacteristic.java | 2 |
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(); } |