Vodafone Test Suite

Dependencies:   mbed-rtos mbed HTTPClient VodafoneUSBModem

Revision:
46:d2c22206031a
Parent:
44:6d0ac4747f5b
Child:
47:85c30274cc9b
--- a/main.cpp	Tue Sep 18 15:38:54 2012 +0000
+++ b/main.cpp	Wed Sep 19 09:52:46 2012 +0000
@@ -37,7 +37,7 @@
   LOG("Running tests.");
   TestManager *m = new TestManager(&modem);
   m->runTestProfile(TESTS_AUTOMATED);
-  //m->executeTest(25);
+  //m->runTest(8);
   //m->executeTest(26);
   //m->executeTest(10);
   //m->executeTest(21);
@@ -46,14 +46,12 @@
 
 void setTime() {
   struct tm t;
-  t.tm_year  = 2012;
-  t.tm_mon   = 8;
-  t.tm_mday  = 23;
-  t.tm_hour  = 9;
-  t.tm_min   = 19;
+  t.tm_year  = 2000;
+  t.tm_mon   = 0;
+  t.tm_mday  = 0;
+  t.tm_hour  = 0;
+  t.tm_min   = 0;
   t.tm_sec   = 0;
-  t.tm_year -= 1900;
-  t.tm_mon  -= 1;
   set_time(mktime(&t));
 }
 
@@ -63,7 +61,7 @@
   DBG_SET_SPEED(115200);
   DBG_SET_NEWLINE("\r\n");
 
-  //setTime();
+  setTime();
   size_t currentTime = time(NULL);
   fprintf(stdout,"Invocation time: %s\r\n",ctime(&currentTime));