Browse Source

Fix getModemInfo()

v_master
Volodymyr Shymanskyy 7 years ago
parent
commit
b5c25a6cef
2 changed files with 4 additions and 0 deletions
  1. +2
    -0
      TinyGsmClientA6.h
  2. +2
    -0
      TinyGsmClientM590.h

+ 2
- 0
TinyGsmClientA6.h View File

@ -227,6 +227,8 @@ public:
if (waitResponse(1000L, res) != 1) {
return "";
}
res.replace(GSM_NL "OK" GSM_NL, "");
res.replace(GSM_NL, "");
res.trim();
return res;
}


+ 2
- 0
TinyGsmClientM590.h View File

@ -232,6 +232,8 @@ public:
if (waitResponse(1000L, res) != 1) {
return "";
}
res.replace(GSM_NL "OK" GSM_NL, "");
res.replace(GSM_NL, "");
res.trim();
return res;
}


Loading…
Cancel
Save