diff options
-rw-r--r-- | examples/java/ScannerTinyB00.java | 2 | ||||
-rw-r--r-- | examples/java/ScannerTinyB01.java | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/examples/java/ScannerTinyB00.java b/examples/java/ScannerTinyB00.java index c5ec4790..577382b3 100644 --- a/examples/java/ScannerTinyB00.java +++ b/examples/java/ScannerTinyB00.java @@ -163,8 +163,6 @@ public class ScannerTinyB00 { System.out.println("Could not connect device."); System.exit(-1); } - // Will shut down everything .. ?? - //adapter.stopDiscovery(); final List<BluetoothGattService> allBluetoothServices = sensor.getServices(); if (allBluetoothServices.isEmpty()) { diff --git a/examples/java/ScannerTinyB01.java b/examples/java/ScannerTinyB01.java index 97e5b311..2e540135 100644 --- a/examples/java/ScannerTinyB01.java +++ b/examples/java/ScannerTinyB01.java @@ -262,8 +262,6 @@ public class ScannerTinyB01 { System.out.println("Could not connect device: "+(t4-t3)+" ms, total "+(t4-t0)+" ms"); System.exit(-1); } - // Will shut down everything .. ?? - //adapter.stopDiscovery(); final List<BluetoothGattService> allBluetoothServices = sensor.getServices(); if ( null == allBluetoothServices || allBluetoothServices.isEmpty() ) { |