Fix #67
This commit is contained in:
@@ -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');
|
||||||
|
Reference in New Issue
Block a user