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/
GSwifi_conf.h
- Committer:
- gsfan
- Date:
- 2013-06-26
- Revision:
- 37:e61ea8267415
- Parent:
- 35:515ec79792d3
- Child:
- 41:0afda15e9bb4
File content as of revision 37:e61ea8267415:
#ifndef _GSWIFI_CONF_H_ #define _GSWIFI_CONF_H_ #define GS_BAUD 9600 // default module baud //#define GS_UART_DIRECT #define GS_BULK //#define GS_LIB_TINY #define GS_DHCPNAME "mbed-gs" #define GS_DNSNAME "setup.local" #define GS_WREGDOMAIN 2 // 0:FCC, 1:ETSI, 2:TELEC #define GS_TIMEOUT 10000 // ms #define GS_TIMEOUT2 130000 // ms #define GS_RECONTIME 60 // s #define GS_CMD_SIZE 100 #if defined(TARGET_LPC1768) || defined(TARGET_LPC2368) //#define GS_DATA_SIZE 1500 #define GS_DATA_SIZE 1024 #elif defined(TARGET_LPC11U24) #define GS_DATA_SIZE 256 #elif defined(TARGET_KL25Z) #define GS_DATA_SIZE 512 #endif #ifndef GS_LIB_TINY #define GS_SYSLOG // log for stdout // ----- GSwifi_smtp.cpp ----- #define GS_ENABLE_SMTP // use smtp client #define SMTP_TIMEOUT 15000 // ----- GSwifi_http.cpp ----- #define GS_ENABLE_HTTP // use http client // ----- GSwifi_httpd.cpp ----- //#define GS_ENABLE_HTTPD // use http server //#define GS_ENABLE_WEBSOCKET // use websocket server (need httpd) #define HTTPD_TIMEOUT 15000 #define HTTPD_HANDLE 10 #define HTTPD_BUF_SIZE 200 #define HTTPD_URI_SIZE 100 #define HTTPD_KEEPALIVE 10 // request count #endif // GS_LIB_TINY #endif