asdasdasdasd
Dependencies: Audio EthernetInterface mbed-rtos mbed
Fork of FRDM_TCP_v4_copy by
Diff: CommChannel.h
- Revision:
- 11:9280da8e40bd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CommChannel.h Fri Aug 10 09:12:27 2018 +0000 @@ -0,0 +1,27 @@ +#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