private fork
Fork of GSwifiInterface by
Diff: GSwifi/GSwifi_at.cpp
- Revision:
- 12:057089026a20
- Parent:
- 11:71d67fea5ace
- Child:
- 13:189e04ac70bd
--- a/GSwifi/GSwifi_at.cpp Fri Nov 15 04:20:14 2013 +0000 +++ b/GSwifi/GSwifi_at.cpp Fri Nov 22 14:03:07 2013 +0000 @@ -331,7 +331,7 @@ } else { sprintf(cmd, "AT+HTTPOPEN=%s,%d", s, n); } - return sendCommand(cmd, RES_CONNECT, CFG_TIMEOUT); + return sendCommand(cmd, RES_HTTP, CFG_TIMEOUT); } int GSwifi::cmdHTTPSEND (int n, bool m, const char *s, int t) { @@ -341,7 +341,7 @@ } else { sprintf(cmd, "AT+HTTPSEND=%d,1,%d,%s", n, CFG_TIMEOUT / 1000, s); } - return sendCommand(cmd, RES_CONNECT, CFG_TIMEOUT); + return sendCommand(cmd); } int GSwifi::cmdHTTPCLOSE (int n) {