Browse Source

Fix #67

v_master
Volodymyr Shymanskyy 7 years ago
parent
commit
9129d8fe8f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      TinyGsmClientSIM800.h

+ 1
- 1
TinyGsmClientSIM800.h View File

@ -524,7 +524,7 @@ public:
String getGsmLocation() { String getGsmLocation() {
sendAT(GF("+CIPGSMLOC=1,1")); sendAT(GF("+CIPGSMLOC=1,1"));
if (waitResponse(GF(GSM_NL "+CIPGSMLOC:")) != 1) {
if (waitResponse(10000L, GF(GSM_NL "+CIPGSMLOC:")) != 1) {
return ""; return "";
} }
String res = stream.readStringUntil('\n'); String res = stream.readStringUntil('\n');


Loading…
Cancel
Save