tes

Dependencies:   NetServices mbed C027_Supports mbed-rpcx

CommChannel.h

Committer:
aldoao
Date:
2019-09-11
Revision:
1:f7d9b0530b73
Parent:
0:64967b7043c2

File content as of revision 1:f7d9b0530b73:

#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 Tick10ms();

private:
    
};

#endif // COMMCHANNEL_H