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_hal.cpp
- Revision:
- 15:086d1a33a197
- Parent:
- 12:057089026a20
- Child:
- 16:105b56570533
--- a/GSwifi/GSwifi_hal.cpp Fri Jan 10 14:23:33 2014 +0000 +++ b/GSwifi/GSwifi_hal.cpp Thu Jan 30 15:10:14 2014 +0000 @@ -200,14 +200,18 @@ } #elif defined(TARGET_LPC4088) _uart = (LPC_UART_TypeDef*)LPC_UART2; - if (cts != NC && rts != NC) { + if (cts != NC) { _cts = new DigitalIn(cts); + } + if (rts != NC) { _rts = new DigitalOut(rts); _flow = 2; } #else - if (cts != NC && rts != NC) { + if (cts != NC) { _cts = new DigitalIn(cts); + } + if (rts != NC) { _rts = new DigitalOut(rts); _flow = 2; }