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:
5:864a193bd778
Parent:
3:f38499c4000e
Child:
6:76465a08f5c1
--- a/main.h	Thu Oct 03 16:06:37 2013 +0000
+++ b/main.h	Tue Oct 08 15:12:24 2013 +0000
@@ -32,9 +32,9 @@
 #define USE_SMART_CONFIG 0
 
  // Default SSID Settings
-#define AP_KEY       "test"
+#define AP_KEY       "zxcvbnm,./"
 #define AP_SECURITY  WPA2            // WPA2 must be enabled for use with iPhone or Android phone hotspot!
-#define SSID         "test"
+#define SSID         "SSID"
 
 void init();