diff --git a/examples/java/Hellotinyb.java b/examples/java/Hellotinyb.java index 3597a63e..a4e5ea7d 100644 --- a/examples/java/Hellotinyb.java +++ b/examples/java/Hellotinyb.java @@ -57,5 +57,7 @@ public static void main(String[] args) throws InterruptedException { System.out.println("UUID: " + service.getUuid()); } } while (bluetoothServices.isEmpty()); + + sensor.disconnect(); } }