GSwifiInterface library (interface for GainSpan Wi-Fi GS1011 modules) Please see https://mbed.org/users/gsfan/notebook/GSwifiInterface/
Dependents: GSwifiInterface_HelloWorld GSwifiInterface_HelloServo GSwifiInterface_UDPEchoServer GSwifiInterface_UDPEchoClient ... more
Fork of WiflyInterface by
GainSpan Wi-Fi library
The GS1011/GS2100 is an ultra low power 802.11b wireless module from GainSpan.
mbed RTOS supported.
- about this library: http://mbed.org/users/gsfan/notebook/GSwifiInterface/
- about Wi-Fi module: http://mbed.org/users/gsfan/notebook/gainspan_wifi/
ゲインスパン Wi-Fi モジュール ライブラリ
ゲインスパン社の低電力 Wi-Fiモジュール(無線LAN) GS1011/GS2100 シリーズ用のライブラリです。
mbed RTOS に対応しています。(mbed2.0)
- このライブラリについて: http://mbed.org/users/gsfan/notebook/gainspan_wifi/
- Wi-FIモジュールについて: http://mbed.org/users/gsfan/notebook/gainspan_wifi/
- UARTコマンド、SPIデータインターフェースに対応しました。(2019/09)
Diff: GSwifi/GSwifi_httpd.cpp
- Revision:
- 20:9bfb8a13010c
- Parent:
- 19:d035412a7803
--- a/GSwifi/GSwifi_httpd.cpp Thu Jun 05 04:21:02 2014 +0000 +++ b/GSwifi/GSwifi_httpd.cpp Thu Jun 05 06:06:19 2014 +0000 @@ -233,7 +233,9 @@ _httpd[cid].uri[i] = 0; INFO("URI %d '%s'", _httpd[cid].req, _httpd[cid].uri); _httpd[cid].mode = HTTPDMODE_HEADER; - _httpd[cid].buf->flush(); + if (_httpd[cid].buf != NULL) { + _httpd[cid].buf->flush(); + } _httpd[cid].length = 0; _httpd[cid].n = 0; _httpd[cid].filename = NULL;