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 mbed official

GainSpan Wi-Fi library

The GS1011/GS2100 is an ultra low power 802.11b wireless module from GainSpan.

mbed RTOS supported.

/media/uploads/gsfan/gs_im_002.jpg /media/uploads/gsfan/gs1011m_2.jpg

ゲインスパン Wi-Fi モジュール ライブラリ

ゲインスパン社の低電力 Wi-Fiモジュール(無線LAN) GS1011/GS2100 シリーズ用のライブラリです。

mbed RTOS に対応しています。(mbed2.0)

GSwifi/GSwifi_conf.h

Committer:
gsfan
Date:
2014-06-05
Revision:
20:9bfb8a13010c
Parent:
19:d035412a7803
Child:
22:d25a5a0d2497

File content as of revision 20:9bfb8a13010c:


//#define DEBUG
//#define DEBUG_DUMP

#define CFG_ENABLE_RTOS
//#define CFG_ENABLE_HTTPD
//#define CFG_ENABLE_WEBSOCKET
//#define CFG_ENABLE_SMTP
//#define CFG_UART_DIRECT

#define CFG_UART_BAUD 9600
#define CFG_WREGDOMAIN 2 // 0:FCC, 1:ETSI, 2:TELEC
#define CFG_DHCPNAME "mbed-gswifi"
#define CFG_DNSNAME "setup.local"
#define CFG_TRYJOIN 3
#define CFG_RECONNECT 30 // sec
#define CFG_MAX_SOCKETS 16

#define DEFAULT_WAIT_RESP_TIMEOUT 500
#define CFG_TIMEOUT 30000 // ms

#define CFG_CMD_SIZE 128

#if defined(TARGET_LPC1768) || defined(TARGET_LPC2368) || defined(TARGET_LPC176X)
#define CFG_DATA_SIZE 1024
#elif defined(TARGET_LPC11U24) || defined(TARGET_LPC1114) || defined(TARGET_LPC11UXX) || defined(TARGET_LPC11XX)
#define CFG_DATA_SIZE 256
#elif defined(TARGET_LPC812) || defined(TARGET_LPC81X)
#define CFG_DATA_SIZE 128
#elif defined(TARGET_LPC4088) || defined(TARGET_LPC408X)
#define CFG_DATA_SIZE 4096
#elif defined(TARGET_KL25Z)
#define CFG_DATA_SIZE 512
#endif
/*
#if defined(TARGET_LPC1768) || defined(TARGET_LPC176X)
#define CFG_EXTENDED_MEMORY1 0x2007c000
#define CFG_EXTENDED_SIZE1 0x4000
#define CFG_EXTENDED_MEMORY2 0x20082000
#define CFG_EXTENDED_SIZE2 0x2000
#endif
*/
#define CFG_HTTPD_HANDLER_NUM 10
#define CFG_HTTPD_KEEPALIVE 10