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.
Diff: source/jobTestUpload.cpp
- Revision:
- 16:bef1673b199e
- Child:
- 17:b79ce8109995
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/source/jobTestUpload.cpp Thu Aug 03 20:57:50 2017 +0000 @@ -0,0 +1,12 @@ +#include "jobTestUpload.h" + +#include "mbed-trace/mbed_trace.h" +#define TRACE_GROUP "jtp" +//#include "us_ticker_api.h" + +void JobTestUpload::Run() { + tr_info("Job Test Upload"); + time_t now = time(NULL); + char msg[] = "*1234567*"; + _lce.SendV1("/test", (uint8_t*)msg, strlen(msg), false, now); +}