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/
Revision 43:0b5e2727e020, committed 2013-12-18
- Comitter:
- gsfan
- Date:
- Wed Dec 18 01:29:43 2013 +0000
- Parent:
- 42:9b3c38d66fa8
- Commit message:
- fix reconnect
Changed in this revision
GSwifi.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 9b3c38d66fa8 -r 0b5e2727e020 GSwifi.cpp --- a/GSwifi.cpp Wed Dec 18 01:16:04 2013 +0000 +++ b/GSwifi.cpp Wed Dec 18 01:29:43 2013 +0000 @@ -658,7 +658,8 @@ } } - if (t == 0 || timer.read() > _reconnect) { + if (_ssid && ! _connect) + if (t == 0 || timer.read() > _reconnect) { DBG("reconnect\r\n"); if (reconnect()) { timer.reset();