private fork
Fork of GSwifiInterface by
Diff: GSwifi/GSwifi_conf.h
- Revision:
- 11:71d67fea5ace
- Child:
- 12:057089026a20
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/GSwifi/GSwifi_conf.h Fri Nov 15 04:20:14 2013 +0000 @@ -0,0 +1,23 @@ + +#define DEBUG + +#define CFG_ENABLE_RTOS +//#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 60 // sec + +#define DEFAULT_WAIT_RESP_TIMEOUT 500 +#define CFG_TIMEOUT 30000 // ms + +#define CFG_CMD_SIZE 100 +#if defined(TARGET_LPC1768) || defined(TARGET_LPC2368) +#define CFG_DATA_SIZE 1024 +#elif defined(TARGET_LPC11U24) +#define CFG_DATA_SIZE 128 +#elif defined(TARGET_LPC4088) +#define CFG_DATA_SIZE 4096 +#endif