Subversion Repositories Projects

Rev

Rev 397 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
392 Brean 1
#ifndef COMMUNICATION_H
2
#define COMMUNICATION_H
3
#include <string>
4
 
5
/**
6
 * communication interface for Mikrokopter (MK) USART connection
7
 */
8
 
9
using namespace std;
10
 
396 Brean 11
class Communication{
399 Brean 12
    protected:
13
        bool connected;
392 Brean 14
    public:
15
        //connect to MK
397 Brean 16
        virtual void connect_MK(string) {};
392 Brean 17
        //send command to MK
397 Brean 18
        virtual bool send_cmd(char, int, char[150],unsigned int, bool) { return false; };
19
        virtual void stop_resend() {};
399 Brean 20
 
21
        bool is_connected();
392 Brean 22
};
23
#endif