This commit is contained in:
James 2024-04-26 11:29:51 +01:00
parent 52a62e0851
commit e5535e8ad3

View File

@ -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();
}
}