diff --git a/ESPBMS.ino b/ESPBMS.ino index 122772f..ea5c954 100644 --- a/ESPBMS.ino +++ b/ESPBMS.ino @@ -151,8 +151,8 @@ void loop() { delay(500); } } - Serial.println("Disconnect"); - pRemoteCharacteristic_rx->unregisterForNotify(); + Serial.println("Reboot!"); + ESP.restart(); pClient->disconnect(); } }