tes

Dependencies:   NetServices mbed C027_Supports mbed-rpcx

Committer:
aldoao
Date:
Wed Sep 11 06:32:20 2019 +0000
Revision:
1:f7d9b0530b73
Parent:
0:64967b7043c2
tipe,1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
irsanjul 0:64967b7043c2 1 #ifndef COMMCHANNEL_H
irsanjul 0:64967b7043c2 2 #define COMMCHANNEL_H
irsanjul 0:64967b7043c2 3
irsanjul 0:64967b7043c2 4 #include <vector>
irsanjul 0:64967b7043c2 5 #include <string>
irsanjul 0:64967b7043c2 6
irsanjul 0:64967b7043c2 7 class CommChannel
irsanjul 0:64967b7043c2 8 {
irsanjul 0:64967b7043c2 9 public:
irsanjul 0:64967b7043c2 10 CommChannel();
irsanjul 0:64967b7043c2 11 ~CommChannel();
irsanjul 0:64967b7043c2 12
irsanjul 0:64967b7043c2 13 void connect(const std::string &host);
irsanjul 0:64967b7043c2 14
irsanjul 0:64967b7043c2 15 int dataAvailable();
irsanjul 0:64967b7043c2 16 std::vector<int> read();
irsanjul 0:64967b7043c2 17
irsanjul 0:64967b7043c2 18 void write(const std::vector<int> &s);
irsanjul 0:64967b7043c2 19
irsanjul 0:64967b7043c2 20 void Tick10ms();
irsanjul 0:64967b7043c2 21
irsanjul 0:64967b7043c2 22 private:
irsanjul 0:64967b7043c2 23
irsanjul 0:64967b7043c2 24 };
irsanjul 0:64967b7043c2 25
irsanjul 0:64967b7043c2 26 #endif // COMMCHANNEL_H