getOperator() to return name instead of number

This commit is contained in:
Volodymyr Shymanskyy
2017-09-28 02:10:35 +03:00
parent bebbbc8d29
commit f7983673da

View File

@@ -321,6 +321,9 @@ public:
}
String getOperator() {
sendAT(GF("+COPS=3,0")); // Set format
waitResponse();
sendAT(GF("+COPS?"));
if (waitResponse(GF(GSM_NL "+COPS:")) != 1) {
return "";