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.

Committer:
sgnezdov
Date:
Fri Aug 04 22:03:54 2017 +0000
Revision:
27:60c12f3f3430
Parent:
1:eebe442fc126
added documentation to all services and jobs

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sgnezdov 1:eebe442fc126 1 #pragma once
sgnezdov 1:eebe442fc126 2
sgnezdov 27:60c12f3f3430 3 /** JobTestPrint is a job that simply prints a message to STDOUT.
sgnezdov 27:60c12f3f3430 4
sgnezdov 27:60c12f3f3430 5 The class has no constructor, because it has no service dependenices.
sgnezdov 27:60c12f3f3430 6 This job is a great candidate for a simple C-function job example.
sgnezdov 27:60c12f3f3430 7
sgnezdov 27:60c12f3f3430 8 */
sgnezdov 1:eebe442fc126 9 class JobTestPrint {
sgnezdov 1:eebe442fc126 10 public:
sgnezdov 1:eebe442fc126 11
sgnezdov 27:60c12f3f3430 12 /** RunAdapter is scheduler callback function.
sgnezdov 27:60c12f3f3430 13 @param thisPointer provides job context, which is this class's instance.
sgnezdov 27:60c12f3f3430 14 */
sgnezdov 1:eebe442fc126 15 static void RunAdapter(void *thisPointer) {
sgnezdov 1:eebe442fc126 16 JobTestPrint *self = static_cast<JobTestPrint*>(thisPointer);
sgnezdov 1:eebe442fc126 17 self->Run();
sgnezdov 1:eebe442fc126 18 }
sgnezdov 1:eebe442fc126 19
sgnezdov 1:eebe442fc126 20 void Run();
sgnezdov 1:eebe442fc126 21 };