asdasdasdasd
Dependencies: Audio EthernetInterface mbed-rtos mbed
Fork of TCPEchoClient by
CommChannel.h
- Committer:
- irsanjul
- Date:
- 2018-08-10
- Revision:
- 11:9280da8e40bd
File content as of revision 11:9280da8e40bd:
#ifndef COMMCHANNEL_H #define COMMCHANNEL_H #include <vector> #include <string> class CommChannel { public: CommChannel(); ~CommChannel(); void connect(const std::string &host); int dataAvailable(); std::vector<int> read(); void write(const std::vector<int> &s); void write(char *s, int sz); void Tick10ms(); private: }; #endif // COMMCHANNEL_H