Connect to SSID, get ip by dhcp, ping google.com, display statistics

Dependencies:   NVIC_set_all_priorities cc3000_hostdriver_mbedsocket mbed

Fork of cc3000_ping_demo by Martin Kojtal

Revision:
7:fbc17364ea63
Parent:
6:76465a08f5c1
Child:
10:b98f2d6e6da5
--- a/main.h	Tue Oct 08 15:13:58 2013 +0000
+++ b/main.h	Wed Nov 06 20:50:55 2013 +0000
@@ -22,20 +22,6 @@
 
 #define MY_BOARD WIGO
 
-// use this defines in AP_SECURITY
-#define NONE 0
-#define WEP  1
-#define WPA  2
-#define WPA2 3
-
-// use smart config
-#define USE_SMART_CONFIG 0
-
- // Default SSID Settings
-#define AP_KEY       "test"
-#define AP_SECURITY  WPA2            // WPA2 must be enabled for use with iPhone or Android phone hotspot!
-#define SSID         "test"
-
 void init();
 
 #endif