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 Jul 14 22:02:28 2017 +0000
Revision:
7:c4123a87abe2
Parent:
4:b360d4f0bf34
Child:
16:bef1673b199e
ADC reads make it to HE, but values are not correct; ch 7 is supposed to be zero and is filled in; created date is way off

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sgnezdov 4:b360d4f0bf34 1 #pragma once
sgnezdov 4:b360d4f0bf34 2
sgnezdov 4:b360d4f0bf34 3 #include "mbed.h"
sgnezdov 4:b360d4f0bf34 4
sgnezdov 4:b360d4f0bf34 5 class LceProxy {
sgnezdov 4:b360d4f0bf34 6 public:
sgnezdov 4:b360d4f0bf34 7
sgnezdov 7:c4123a87abe2 8 LceProxy(NetworkInterface& ni, const char* sn): _ni(ni), _sn(sn) {}
sgnezdov 4:b360d4f0bf34 9
sgnezdov 4:b360d4f0bf34 10 /**
sgnezdov 4:b360d4f0bf34 11 Sends data using Version 1 protocol.
sgnezdov 4:b360d4f0bf34 12 */
sgnezdov 7:c4123a87abe2 13 void SendV1(const char* path, uint8_t *data, size_t dataLen, bool isAlarm, time_t taken);
sgnezdov 4:b360d4f0bf34 14
sgnezdov 4:b360d4f0bf34 15 private:
sgnezdov 4:b360d4f0bf34 16
sgnezdov 4:b360d4f0bf34 17 NetworkInterface& _ni;
sgnezdov 7:c4123a87abe2 18 const char* _sn;
sgnezdov 4:b360d4f0bf34 19 };