diff --git a/provisioning/src/main/java/com/espressif/provisioning/transport/BLETransport.java b/provisioning/src/main/java/com/espressif/provisioning/transport/BLETransport.java index afdd637..92397d6 100644 --- a/provisioning/src/main/java/com/espressif/provisioning/transport/BLETransport.java +++ b/provisioning/src/main/java/com/espressif/provisioning/transport/BLETransport.java @@ -151,6 +151,7 @@ public void disconnect() { if (this.bluetoothGatt != null) { this.bluetoothGatt.disconnect(); + this.bluetoothGatt.close(); bluetoothGatt = null; } }