mirror of
https://github.com/KevinMidboe/TinyGSM.git
synced 2025-10-29 18:00:18 +00:00
Fix netopen response
This commit is contained in:
@@ -392,7 +392,7 @@ TINY_GSM_MODEM_WAIT_FOR_NETWORK()
|
|||||||
// We to ignore any immediate response and wait for the
|
// We to ignore any immediate response and wait for the
|
||||||
// URC to show it's really connected.
|
// URC to show it's really connected.
|
||||||
sendAT(GF("+NETOPEN"));
|
sendAT(GF("+NETOPEN"));
|
||||||
if (waitResponse(75000L, GF(GSM_NL "+NETOPEN: 1")) != 1) {
|
if (waitResponse(75000L, GF(GSM_NL "+NETOPEN: 0")) != 1) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user