in case of erroneous return of device location
the BTS location might help a little if getting errors via device reading
This commit is contained in:
@@ -627,6 +627,17 @@ TINY_GSM_MODEM_WAIT_FOR_NETWORK()
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
String getBaseStationGsmLocation() {
|
||||||
|
sendAT(GF("+CLBS=1,1"));
|
||||||
|
if (waitResponse(10000L, GF(GSM_NL "+CLBS:")) != 1) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
String res = stream.readStringUntil('\n');
|
||||||
|
waitResponse();
|
||||||
|
res.trim();
|
||||||
|
return res;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Time functions
|
* Time functions
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user