Martin Kojtal / Mbed 2 deprecated cc3000_ntp_demo

Dependencies:   NVIC_set_all_priorities NTPClient cc3000_hostdriver_mbedsocket mbed

Files at this revision

API Documentation at this revision

Comitter:
Kojto
Date:
Tue Oct 01 04:48:37 2013 +0000
Parent:
0:606d6c8dcb58
Child:
2:f163731f852a
Commit message:
updated host library

Changed in this revision

cc3000_hostdriver_mbedsocket.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
main.h Show annotated file Show diff for this revision Revisions of this file
--- a/cc3000_hostdriver_mbedsocket.lib	Thu Sep 19 08:05:22 2013 +0000
+++ b/cc3000_hostdriver_mbedsocket.lib	Tue Oct 01 04:48:37 2013 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/Kojto/code/cc3000_hostdriver_mbedsocket/#ad95e296bfbf
+http://mbed.org/users/Kojto/code/cc3000_hostdriver_mbedsocket/#7069c5f1e6f4
--- a/main.cpp	Thu Sep 19 08:05:22 2013 +0000
+++ b/main.cpp	Tue Oct 01 04:48:37 2013 +0000
@@ -155,7 +155,7 @@
     }
 
     printf("Getting time, 10s timeout.\n");
-    if (ntp.setTime("0.pool.ntp.org",10000) == 0)
+    if (ntp.setTime("0.uk.pool.ntp.org") == 0)
     {
       printf("Set time successfully\r\n");
       time_t ctTime;
--- a/main.h	Thu Sep 19 08:05:22 2013 +0000
+++ b/main.h	Tue Oct 01 04:48:37 2013 +0000
@@ -26,9 +26,9 @@
 #define USE_SMART_CONFIG 0
 
  // Default SSID Settings
-#define AP_KEY       "87654321"
+#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"
 /* Board specific */
 #define WIGO_BOARD 1