Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
#ifndef COMMUNICATION_H
#define COMMUNICATION_H
/**
* communication interface for Mikrokopter (MK) USART connection
*/
class Communication{
protected:
bool connected;
public:
//connect to MK
virtual void connect_MK(char *) {};
//send command to MK
virtual void send_cmd(char, int, char[150],unsigned int, bool) {};
virtual void stop_resend() {};
virtual void received_data(char *) {};
void connection_established();
void connection_lost();
bool is_connected();
};
#endif