diff options
Diffstat (limited to 'java/direct_bt/tinyb')
-rw-r--r-- | java/direct_bt/tinyb/DBTGattCharacteristic.java | 2 | ||||
-rw-r--r-- | java/direct_bt/tinyb/DBTGattDescriptor.java | 2 | ||||
-rw-r--r-- | java/direct_bt/tinyb/DBTGattService.java | 2 |
3 files changed, 3 insertions, 3 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(); } diff --git a/java/direct_bt/tinyb/DBTGattDescriptor.java b/java/direct_bt/tinyb/DBTGattDescriptor.java index 2733f8ba..bef26e91 100644 --- a/java/direct_bt/tinyb/DBTGattDescriptor.java +++ b/java/direct_bt/tinyb/DBTGattDescriptor.java @@ -153,7 +153,7 @@ public class DBTGattDescriptor extends DBTObject implements BluetoothGattDescrip @Override public final String toString() { if( !isValid() ) { - return "Descriptor" + "\u271D" + "[handle 0x"+Integer.toHexString(handle)+"]"; + return "Descriptor" + "\u271D" + "[uuid "+getUUID()+", handle 0x"+Integer.toHexString(handle)+"]"; } return toStringImpl(); } diff --git a/java/direct_bt/tinyb/DBTGattService.java b/java/direct_bt/tinyb/DBTGattService.java index 4dbcc71e..a319a894 100644 --- a/java/direct_bt/tinyb/DBTGattService.java +++ b/java/direct_bt/tinyb/DBTGattService.java @@ -122,7 +122,7 @@ public class DBTGattService extends DBTObject implements BluetoothGattService @Override public final String toString() { if( !isValid() ) { - return "Service" + "\u271D" + "[handles [0x"+Integer.toHexString(handleStart)+".."+Integer.toHexString(handleEnd)+"]]"; + return "Service" + "\u271D" + "[uuid "+getUUID()+", handles [0x"+Integer.toHexString(handleStart)+".."+Integer.toHexString(handleEnd)+"]]"; } return toStringImpl(); } |