Rev 392 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 392 | Rev 396 | ||
---|---|---|---|
Line 6... | Line 6... | ||
6 | * communication interface for Mikrokopter (MK) USART connection |
6 | * communication interface for Mikrokopter (MK) USART connection |
7 | */ |
7 | */ |
Line 8... | Line 8... | ||
8 | 8 | ||
Line 9... | Line 9... | ||
9 | using namespace std; |
9 | using namespace std; |
10 | 10 | ||
11 | class Communication { |
11 | class Communication{ |
12 | public: |
12 | public: |
13 | //connect to MK |
13 | //connect to MK |
14 | virtual void connectMK(string) {}; |
14 | virtual void connectMK(string) {}; |
- | 15 | //send command to MK |
|
15 | //send command to MK |
16 | virtual bool sendCmd(char, int, char[150],unsigned int, bool) { return false; }; |
16 | virtual bool sendCmd(char, int, char[150],unsigned int, bool) {}; |
17 | virtual void stopReSend() {}; |
17 | }; |
18 | }; |