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.cpp
- Revision:
- 21:6431364fc667
- Parent:
- 12:057089026a20
- Child:
- 22:d25a5a0d2497
--- a/GSwifiInterface.cpp Thu Jun 05 06:06:19 2014 +0000 +++ b/GSwifiInterface.cpp Thu Jun 05 06:12:59 2014 +0000 @@ -14,9 +14,9 @@ return setAddress(name); } -int GSwifiInterface::init(const char* ip, const char* netmask, const char* gateway, const char* name) +int GSwifiInterface::init(const char* ip, const char* netmask, const char* gateway, const char* dns, const char* name) { - return setAddress(ip, netmask, gateway, name); + return setAddress(ip, netmask, gateway, dns, name); } int GSwifiInterface::connect(Security sec, const char* ssid, const char* phrase, WiFiMode mode) @@ -57,3 +57,4 @@ { return _state.netmask; } +