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.
source/lceProxy.h
- Committer:
- sgnezdov
- Date:
- 2017-08-11
- Revision:
- 28:7214f7806526
- Parent:
- 27:60c12f3f3430
File content as of revision 28:7214f7806526:
#pragma once #include "mbed.h" #include "config.h" /** LceProxy is an application service allowing to send data to LCE headend using LCE specific protocols. LCE is developed by Itron "Advanced Research and Development" team. */ class LceProxy { public: LceProxy(NetworkInterface& ni, Config conf): _ni(ni), _conf(conf) {} /** Sends data using Version 1 protocol. */ void SendV1(const char* path, uint8_t *data, size_t dataLen, bool isAlarm, time_t taken); private: NetworkInterface& _ni; Config _conf; };