Details | 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{ |
392 | Brean | 12 | public: |
13 | //connect to MK |
||
14 | virtual void connectMK(string) {}; |
||
15 | //send command to MK |
||
396 | Brean | 16 | virtual bool sendCmd(char, int, char[150],unsigned int, bool) { return false; }; |
17 | virtual void stopReSend() {}; |
||
392 | Brean | 18 | }; |
19 | #endif |