Browse Source

Add comments

v_master
Volodymyr Shymanskyy 6 years ago
parent
commit
bc9818c353
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/TinyGsmClientSIM800.h

+ 3
- 2
src/TinyGsmClientSIM800.h View File

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


Loading…
Cancel
Save