tes
Dependencies: NetServices mbed C027_Supports mbed-rpcx
RtuRpc.h
- Committer:
- aldoao
- Date:
- 2019-09-11
- Revision:
- 1:f7d9b0530b73
- Parent:
- 0:64967b7043c2
File content as of revision 1:f7d9b0530b73:
#ifndef RTURPC_H #define RTURPC_H #include "HTTPClient.h" #include <string> #include <ctime> class RtuRpc { public: RtuRpc(std::string host); void commitReading(const std::time_t &dt, int readingId, double value); void commitEvent(const std::time_t &dt, int eventId, double value); private: std::string hostAddr; HTTPClient cl; }; #endif