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: GSwifiInterface.h
- Revision:
- 22:d25a5a0d2497
- Parent:
- 21:6431364fc667
--- a/GSwifiInterface.h Thu Jun 05 06:12:59 2014 +0000 +++ b/GSwifiInterface.h Tue Sep 24 06:24:37 2019 +0000 @@ -17,8 +17,8 @@ * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/* Copyright (C) 2013 gsfan, MIT License - * port to the GainSpan Wi-FI module GS1011 +/* Copyright (C) 2019 gsfan, MIT License + * port to the GainSpan (Telit) Wi-FI module GS1011/GS2000/GS2100 */ #ifndef GSWIFIINTERFACE_H_ @@ -43,7 +43,13 @@ * \param alarm alarm pin of the wifi module (default: NC) * \param baud baud rate of Serial interface (default: 9600) */ +#ifdef CFG_SPI_DATAINTERFACE + GSwifiInterface(PinName tx, PinName rx, PinName cts, PinName rts, PinName reset, + PinName mosi, PinName miso, PinName sclk, PinName cs, PinName wake, + PinName alarm = NC, int baud = 9600, int freq = 2000000); +#else GSwifiInterface(PinName tx, PinName rx, PinName cts, PinName rts, PinName reset, PinName alarm = NC, int baud = 9600); +#endif /** Initialize the interface with DHCP. * Initialize the interface and configure it to use DHCP (no connection at this point).