From e5535e8ad3dc3698e8a9355053027e2205e1e5ae Mon Sep 17 00:00:00 2001 From: James Date: Fri, 26 Apr 2024 11:29:51 +0100 Subject: [PATCH] debug --- ESPBMS.ino | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ESPBMS.ino b/ESPBMS.ino index 6bb61c6..dddef3d 100644 --- a/ESPBMS.ino +++ b/ESPBMS.ino @@ -124,6 +124,7 @@ void loop() { while( millis()-start<10000 && (gotBasicInfo==false || gotCellInfo==false) ){ // REQUEST BASIC INFO if(gotBasicInfo==false){ + Serial.println("Request Basic Info"); delay(500); // header status command length data checksum footer // DD A5 03 00 FF FD 77 @@ -134,6 +135,7 @@ void loop() { // REQUEST CELL INFO if(gotCellInfo==false){ + Serial.println("Request Cell Info"); delay(500); // header status command length data checksum footer // DD A5 03 00 FF FD 77 @@ -142,6 +144,7 @@ void loop() { delay(500); } } + Serial.println("Disconnect"); pClient->disconnect(); } }