debug
This commit is contained in:
@@ -124,6 +124,7 @@ void loop() {
|
|||||||
while( millis()-start<10000 && (gotBasicInfo==false || gotCellInfo==false) ){
|
while( millis()-start<10000 && (gotBasicInfo==false || gotCellInfo==false) ){
|
||||||
// REQUEST BASIC INFO
|
// REQUEST BASIC INFO
|
||||||
if(gotBasicInfo==false){
|
if(gotBasicInfo==false){
|
||||||
|
Serial.println("Request Basic Info");
|
||||||
delay(500);
|
delay(500);
|
||||||
// header status command length data checksum footer
|
// header status command length data checksum footer
|
||||||
// DD A5 03 00 FF FD 77
|
// DD A5 03 00 FF FD 77
|
||||||
@@ -134,6 +135,7 @@ void loop() {
|
|||||||
|
|
||||||
// REQUEST CELL INFO
|
// REQUEST CELL INFO
|
||||||
if(gotCellInfo==false){
|
if(gotCellInfo==false){
|
||||||
|
Serial.println("Request Cell Info");
|
||||||
delay(500);
|
delay(500);
|
||||||
// header status command length data checksum footer
|
// header status command length data checksum footer
|
||||||
// DD A5 03 00 FF FD 77
|
// DD A5 03 00 FF FD 77
|
||||||
@@ -142,6 +144,7 @@ void loop() {
|
|||||||
delay(500);
|
delay(500);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Serial.println("Disconnect");
|
||||||
pClient->disconnect();
|
pClient->disconnect();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user