mirror of
https://github.com/KevinMidboe/TinyGSM.git
synced 2025-10-29 18:00:18 +00:00
Fixed modem name request on ublox
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user