Browse Source

SIM800: Handle more responses for +CIPSTART

v_master
Volodymyr Shymanskyy 7 years ago
parent
commit
618e45d8fd
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/TinyGsmClientSIM800.h

+ 4
- 1
src/TinyGsmClientSIM800.h View File

@ -760,7 +760,10 @@ protected:
rsp = waitResponse(75000L,
GF("CONNECT OK" GSM_NL),
GF("CONNECT FAIL" GSM_NL),
GF("ALREADY CONNECT" GSM_NL));
GF("ALREADY CONNECT" GSM_NL),
GF("ERROR" GSM_NL),
GF("CLOSE OK" GSM_NL) // Happens when HTTPS handshake fails
);
return (1 == rsp);
}


Loading…
Cancel
Save