SIM800: Handle more responses for +CIPSTART

This commit is contained in:
Volodymyr Shymanskyy
2018-03-14 01:18:13 +02:00
parent 4f9182919f
commit 618e45d8fd

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