Browse Source

Fix netopen response

v_master
Sara Damiano 5 years ago
parent
commit
6504d2c1c4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/TinyGsmClientSIM5360.h

+ 1
- 1
src/TinyGsmClientSIM5360.h View File

@ -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;
}


Loading…
Cancel
Save