summaryrefslogtreecommitdiffstats
path: root/examples/java
diff options
context:
space:
mode:
Diffstat (limited to 'examples/java')
-rw-r--r--examples/java/ScannerTinyB10.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/java/ScannerTinyB10.java b/examples/java/ScannerTinyB10.java
index 78235138..0a9b3114 100644
--- a/examples/java/ScannerTinyB10.java
+++ b/examples/java/ScannerTinyB10.java
@@ -416,6 +416,9 @@ public class ScannerTinyB10 {
System.setProperty("org.tinyb.verbose", "true");
}
}
+ // Drop BluetoothGattCharacteristic value cache and notification compatibility using direct_bt.
+ System.setProperty("direct_bt.tinyb.characteristic.compat", "false");
+
if( null == bluetoothManagerClazzName ) {
bluetoothManagerClazzName = BluetoothFactory.DirectBTImplementationID.BluetoothManagerClassName;
}