AP mode
Dependencies: NetworkSocketAPI WizFi310Interface mbed
Fork of WizFi310_TCP_Echo_Server_Example by
Diff: resource.h
- Revision:
- 2:8d119e9b8f5a
diff -r 5981ba4a8323 -r 8d119e9b8f5a resource.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/resource.h Mon Oct 02 20:48:08 2017 +0000 @@ -0,0 +1,33 @@ +//#define STA_SSID "hotpot" +//#define STA_PASSWORD "asdf1234" // Input PW +//#define STA_SECURITY NSAPI_SECURITY_WPA2 + +#define STA_SSID "U+Net81F3" // Input SSID +#define STA_PASSWORD "40000056191" // Input PW +#define STA_SECURITY NSAPI_SECURITY_WPA2 + +#define AP_SSID "Wiznet_TestAP" // Input SSID +#define AP_PASSWORD "12345678" // Input PW +#define AP_SECURITY NSAPI_SECURITY_WPA2 +#define SBUFSIZE 1024 +#define MAX_HEADER_SIZE 512 +#define MAX_NUMBER_SIZE 20 +#define MAX_ID_SIZE (160) +#define MAX_BUF_SIZE 512 +#define REQ_DELAY 10000 +#define MAC_ADDR_SIZE 18 +#define MAX_SSID_SIZE (20) +#define MAX_PWD_SIZE (15) +#define MAX_ID_SIZE (160) + + +#define IS_ALNUM(ch) \ + ( ch >= 'a' && ch <= 'z' ) || \ + ( ch >= 'A' && ch <= 'Z' ) || \ + ( ch >= '0' && ch <= '9' ) || \ + ( ch >= '-' && ch <= '.' ) + + +#define DETECT_SIGNAL (0x1) +#define GOOUT_IP "13.124.228.81" +#define GOOUT_PORT 8080