Browse Source

getOperator() to return name instead of number

v_master
Volodymyr Shymanskyy 7 years ago
parent
commit
f7983673da
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      TinyGsmClientA6.h

+ 3
- 0
TinyGsmClientA6.h 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 "";


Loading…
Cancel
Save