Fixed upcase, other XBee fixes

This commit is contained in:
Sara Damiano
2019-05-20 16:13:05 -04:00
parent 19dd23882f
commit 09725ba8e6
12 changed files with 38 additions and 33 deletions

View File

@@ -764,7 +764,7 @@ protected:
bool ssl = false, int timeout_s = 75)
{
int rsp;
uint32_t timeout_ms = timeout_s*1000;
uint32_t timeout_ms = ((uint32_t)timeout_s)*1000;
sendAT(GF("+CIPSTART="), mux, ',', GF("\"TCP"), GF("\",\""), host, GF("\","), port);
rsp = waitResponse(timeout_ms,
GF("CONNECT OK" GSM_NL),