huohuoh
Dependencies: NetServices mbed C027_Supports mbed-rpcx
RtuRpc.h
- Committer:
- irsanjul
- Date:
- 2019-08-06
- Revision:
- 0:64967b7043c2
File content as of revision 0:64967b7043c2:
#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