From 6504d2c1c4fa955396dbc1fc772bd5a23c798d60 Mon Sep 17 00:00:00 2001 From: Sara Damiano Date: Fri, 19 Jul 2019 12:46:05 -0400 Subject: [PATCH] Fix netopen response --- src/TinyGsmClientSIM5360.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TinyGsmClientSIM5360.h b/src/TinyGsmClientSIM5360.h index ee30a21..b89fe52 100644 --- a/src/TinyGsmClientSIM5360.h +++ b/src/TinyGsmClientSIM5360.h @@ -392,7 +392,7 @@ TINY_GSM_MODEM_WAIT_FOR_NETWORK() // We to ignore any immediate response and wait for the // URC to show it's really connected. sendAT(GF("+NETOPEN")); - if (waitResponse(75000L, GF(GSM_NL "+NETOPEN: 1")) != 1) { + if (waitResponse(75000L, GF(GSM_NL "+NETOPEN: 0")) != 1) { return false; }