Fixed modem name request on ublox

This commit is contained in:
Sara Damiano
2018-09-24 15:08:57 -04:00
parent 2d1d9deccd
commit 69c1824539
8 changed files with 21 additions and 27 deletions

View File

@@ -186,7 +186,6 @@ public:
*/
bool init(const char* pin = NULL) {
DBG(GF("### Modem Defined:"), getModemName());
if (!testAT()) {
return false;
}
@@ -198,7 +197,7 @@ public:
sendAT(GF("+CMEE=2"));
waitResponse();
#endif
DBG(GF("### Modem:"), getModemName());
getSimStatus();
return true;
}