research application on sending data to headend

Dependencies:   DataStore JobScheduler NetworkServices W5500Interface nanopb protocol

See "main.cpp" documentation on "API Documentation" tab for details about application.

Revision:
20:5b52a42b9a5d
Parent:
19:40f5bcec121e
Child:
21:32cd3bfde206
diff -r 40f5bcec121e -r 5b52a42b9a5d source/main.cpp
--- a/source/main.cpp	Fri Aug 04 00:20:33 2017 +0000
+++ b/source/main.cpp	Fri Aug 04 18:33:30 2017 +0000
@@ -115,12 +115,13 @@
     time_t nowSecs = time(NULL);
     // NOTE: don't schedule run once with at 0, because 0 means never.
     //JobScheduler::Response<JobScheduler::JobID> res =
-    scheduler.JobAdd(1003, new JobScheduler::RunOnceSchedule(nowSecs+1), NULL);
-    scheduler.JobAdd(2, new JobScheduler::RunOnceSchedule(nowSecs+2), NULL);
-    scheduler.JobAdd(1001, new JobScheduler::RunOnceSchedule(nowSecs+5), NULL);
-    
-    scheduler.JobAdd(2, new JobScheduler::RunPeriodicSchedule(10, 3), NULL);
-    scheduler.JobAdd(1001, new JobScheduler::RunPeriodicSchedule(5, 10), NULL);
+    scheduler.JobAdd(1001, new JobScheduler::RunOnceSchedule(nowSecs+31), NULL);
+    scheduler.JobAdd(1001, new JobScheduler::RunOnceSchedule(nowSecs+32), NULL);
+    scheduler.JobAdd(1001, new JobScheduler::RunOnceSchedule(nowSecs+33), NULL);
+    scheduler.JobAdd(2, new JobScheduler::RunOnceSchedule(nowSecs), NULL);
+//    
+//    scheduler.JobAdd(2, new JobScheduler::RunPeriodicSchedule(10, 3), NULL);
+//    scheduler.JobAdd(1001, new JobScheduler::RunPeriodicSchedule(5, 10), NULL);
     
         //scheduler.JobAdd(1002, new JobScheduler::RunOnceSchedule(1), NULL);
         //scheduler.JobAdd(1001, new JobScheduler::RunOnceSchedule(nowSecs + 2), NULL);