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-03
- Revision:
- 16:bef1673b199e
- Parent:
- 7:c4123a87abe2
- Child:
- 27:60c12f3f3430
File content as of revision 16:bef1673b199e:
#pragma once #include "mbed.h" #include "config.h" 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; };