diff options
author | Sven Gothel <[email protected]> | 2022-07-08 03:29:47 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-07-08 03:29:47 +0200 |
commit | 1ad1d7b5b0dab7e1b36f86f08e209045abeb5b3c (patch) | |
tree | 9a09265843355f99e2f4cd0cf7d0b92c318c7ef0 /java/jau/direct_bt/DBTGattChar.java | |
parent | b16e20dfabfd152c0ad69ce94b72c8c713993b69 (diff) |
Use jaulib's BasicTypes, PrintUtil and Clock, drop duplicates in BTUtil
Diffstat (limited to 'java/jau/direct_bt/DBTGattChar.java')
-rw-r--r-- | java/jau/direct_bt/DBTGattChar.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/jau/direct_bt/DBTGattChar.java b/java/jau/direct_bt/DBTGattChar.java index afa9c7d4..ac8cf2fe 100644 --- a/java/jau/direct_bt/DBTGattChar.java +++ b/java/jau/direct_bt/DBTGattChar.java @@ -32,8 +32,8 @@ import org.direct_bt.BTException; import org.direct_bt.BTGattChar; import org.direct_bt.BTGattDesc; import org.direct_bt.BTGattService; -import org.direct_bt.BTUtils; import org.direct_bt.GattCharPropertySet; +import org.jau.util.BasicTypes; import org.direct_bt.BTGattCharListener; public class DBTGattChar extends DBTObject implements BTGattChar @@ -101,13 +101,13 @@ public class DBTGattChar extends DBTObject implements BTGattChar @Override public void notificationReceived(final BTGattChar charDecl, final byte[] value, final long timestamp) { System.err.println("GATTCharacteristicListener.notificationReceived: "+charDecl+ - ", value[len "+value.length+": "+BTUtils.bytesHexString(value, 0, -1, true)+"]"); + ", value[len "+value.length+": "+BasicTypes.bytesHexString(value, 0, -1, true)+"]"); } @Override public void indicationReceived(final BTGattChar charDecl, final byte[] value, final long timestamp, final boolean confirmationSent) { System.err.println("GATTCharacteristicListener.indicationReceived: "+charDecl+ - ", value[len "+value.length+": "+BTUtils.bytesHexString(value, 0, -1, true)+ + ", value[len "+value.length+": "+BasicTypes.bytesHexString(value, 0, -1, true)+ "], confirmationSent "+confirmationSent); } }; |