Add comments

This commit is contained in:
Volodymyr Shymanskyy
2018-06-11 00:52:36 +03:00
parent fe4ee102ec
commit bc9818c353

View File

@@ -244,8 +244,8 @@ public:
for (unsigned long start = millis(); millis() - start < timeout; ) { for (unsigned long start = millis(); millis() - start < timeout; ) {
sendAT(GF("")); sendAT(GF(""));
if (waitResponse(200) == 1) { if (waitResponse(200) == 1) {
delay(100); delay(100);
return true; return true;
} }
delay(100); delay(100);
} }
@@ -313,6 +313,7 @@ public:
return false; return false;
} }
//Enable Local Time Stamp for getting network time //Enable Local Time Stamp for getting network time
// TODO: Find a better place for this
sendAT(GF("+CLTS=1")); sendAT(GF("+CLTS=1"));
if (waitResponse(10000L) != 1) { if (waitResponse(10000L) != 1) {
return false; return false;