pefect / Mbed 2 deprecated WizFi310_TCP_Echo_Server_Example

Dependencies:   NetworkSocketAPI WizFi310Interface mbed

Fork of WizFi310_TCP_Echo_Server_Example by WIZnet

Revision:
1:5981ba4a8323
Parent:
0:50932ef4b276
Child:
2:8d119e9b8f5a
--- a/main.cpp	Mon Apr 17 06:45:17 2017 +0000
+++ b/main.cpp	Tue Apr 18 00:57:35 2017 +0000
@@ -25,9 +25,9 @@
 
 
 #if defined(TARGET_NUCLEO_F411RE)
-Serial pc(USBTX, USBRX);
+//Serial pc(USBTX, USBRX);
 //WizFi310Internet wifi(PA_11, PA_12, D6, D7, D3, NC, 115200);
-WizFi310Interface wifi(D8, D2, D7, D6, D9, NC, 115200);
+//WizFi310Interface wifi(D8, D2, D7, D6, D9, NC, 115200);
 #endif
 
 #if defined(TARGET_WIZwiki_W7500)
@@ -35,14 +35,14 @@
 WizFi310Interface wifi(D1, D0, D7, D6, D8, NC, 115200);
 #endif
 
-#define AP_SSID "DIR-815_Wiznet"
-#define AP_PASSWORD "12345678"
+#define AP_SSID "wizms1"
+#define AP_PASSWORD "maker0701"
 #define AP_SECURITY NSAPI_SECURITY_WPA2
 
 int main()
 {
     pc.baud(115200);
-    printf("WizFi310 NetworkSocketAPI TCP Client Example\r\n");
+    printf("WizFi310 NetworkSocketAPI TCP Server Example\r\n");
     
     wifi.connect(AP_SSID, AP_PASSWORD, AP_SECURITY);