AP mode

Dependencies:   NetworkSocketAPI WizFi310Interface mbed

Fork of WizFi310_TCP_Echo_Server_Example by WIZnet

resource.h

Committer:
maru536
Date:
2017-10-02
Revision:
2:8d119e9b8f5a

File content as of revision 2:8d119e9b8f5a:

//#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