GainSpan Wi-Fi library see: http://mbed.org/users/gsfan/notebook/gainspan_wifi/
Dependents: GSwifi_httpd GSwifi_websocket GSwifi_tcpclient GSwifi_tcpserver ... more
Fork of GSwifi by
GainSpan Wi-Fi library
The GS1011 is an ultra low power 802.11b wireless module from GainSpan.
see: http://mbed.org/users/gsfan/notebook/gainspan_wifi/
ゲインスパン Wi-Fi モジュール ライブラリ
ゲインスパン社の低電力 Wi-Fiモジュール(無線LAN) GS1011 シリーズ用のライブラリです。
解説: http://mbed.org/users/gsfan/notebook/gainspan_wifi/
Diff: GSwifi_http.cpp
- Revision:
- 36:a70b11e1560f
- Parent:
- 35:515ec79792d3
- Child:
- 37:e61ea8267415
--- a/GSwifi_http.cpp Fri Jun 21 06:08:37 2013 +0000 +++ b/GSwifi_http.cpp Mon Jun 24 07:36:48 2013 +0000 @@ -121,7 +121,8 @@ sprintf(cmd, "AT+HTTPSEND=%d,3,%d,%s,%d", _cid, GS_TIMEOUT / 1000, uri, len); // POST command(cmd, GSRES_NORMAL); - _gs.printf("\x1bH%X", _cid); + sprintf(cmd, "\x1bH%X", _cid); + _gs_puts(cmd); for (i = 0; i < len; i ++) { _gs_putc(body[i]); DBG("%c", body[i]);