From f7983673da4249879ef755c4484c780fdae0fcf4 Mon Sep 17 00:00:00 2001 From: Volodymyr Shymanskyy Date: Thu, 28 Sep 2017 02:10:35 +0300 Subject: [PATCH] getOperator() to return name instead of number --- TinyGsmClientA6.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/TinyGsmClientA6.h b/TinyGsmClientA6.h index d24b76d..1cf2163 100644 --- a/TinyGsmClientA6.h +++ b/TinyGsmClientA6.h @@ -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 "";