Tiny change to M95 and it works!

This commit is contained in:
Sara Damiano
2019-09-09 18:24:24 -04:00
parent 97edce96bd
commit 17cdde291f
6 changed files with 6 additions and 8 deletions

View File

@@ -611,8 +611,7 @@ protected:
DBG("SSL not yet supported on this module!");
}
uint32_t timeout_ms = ((uint32_t)timeout_s) * 1000;
sendAT(GF("+QIOPEN="), mux, GF(",\""), GF("TCP"), GF("\",\""), host,
GF("\","), port);
sendAT(GF("+QIOPEN="), mux, GF(",\""), GF("TCP"), GF("\",\""), host, GF("\","), port);
int rsp = waitResponse(timeout_ms,
GF("CONNECT OK" GSM_NL),
GF("CONNECT FAIL" GSM_NL),