Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: GSwifi_httpd GSwifi_websocket GSwifi_tcpclient GSwifi_tcpserver ... more
Fork of GSwifi by
GSwifi_conf.h
00001 #ifndef _GSWIFI_CONF_H_ 00002 #define _GSWIFI_CONF_H_ 00003 00004 #define GS_BAUD 9600 // default module baud 00005 00006 //#define GS_UART_DIRECT 00007 #define GS_BULK 00008 //#define GS_LIB_TINY 00009 00010 #define GS_DHCPNAME "mbed-gs" 00011 #define GS_DNSNAME "setup.local" 00012 #define GS_WREGDOMAIN 2 // 0:FCC, 1:ETSI, 2:TELEC 00013 00014 #define GS_TIMEOUT 10000 // ms 00015 #define GS_TIMEOUT2 130000 // ms 00016 #define GS_RECONNECT 60 // s 00017 00018 #define GS_CMD_SIZE 100 00019 00020 #if defined(TARGET_LPC1768) || defined(TARGET_LPC2368) 00021 //#define GS_DATA_SIZE 1500 00022 #define GS_DATA_SIZE 1024 00023 #elif defined(TARGET_LPC11U24) 00024 #define GS_DATA_SIZE 256 00025 #elif defined(TARGET_KL25Z) 00026 #define GS_DATA_SIZE 512 00027 #endif 00028 00029 #ifndef GS_LIB_TINY 00030 00031 #define GS_SYSLOG // log for stdout 00032 00033 // ----- GSwifi_smtp.cpp ----- 00034 00035 #define GS_ENABLE_SMTP // use smtp client 00036 00037 #define SMTP_TIMEOUT 15000 00038 00039 // ----- GSwifi_http.cpp ----- 00040 00041 #define GS_ENABLE_HTTP // use http client 00042 00043 // ----- GSwifi_httpd.cpp ----- 00044 00045 //#define GS_ENABLE_HTTPD // use http server 00046 //#define GS_ENABLE_WEBSOCKET // use websocket server (need httpd) 00047 00048 #define HTTPD_TIMEOUT 15000 00049 #define HTTPD_HANDLE 10 00050 00051 #define HTTPD_BUF_SIZE 200 00052 #define HTTPD_URI_SIZE 100 00053 00054 #define HTTPD_KEEPALIVE 10 // request count 00055 00056 #endif // GS_LIB_TINY 00057 00058 #endif
Generated on Tue Jul 12 2022 22:02:57 by
1.7.2

GainSpan Wi-Fi GS1011