Blame |
Last modification |
View Log
| RSS feed
#ifndef TESTING_COMMUNICATION_H
#define TESTING_COMMUNICATION_H
#include "Communication.h"
#include "Handler.h"
#include "FlightLog.h"
/**
* Dummy class that stores the communication data for testing
*/
class TestingCommunication : public Communication {
private:
Handler * handler;
char * data;
public:
TestingCommunication(Handler * handler);
void connect_MK(char * addr);
void received_data(char * data, int length);
void send_cmd(char cmd, int address, char data[150], unsigned int length, bool resend);
void stop_resend();
void get_data(char * data);
};
#endif