Subversion Repositories Projects

Rev

Rev 449 | Rev 451 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#ifndef QT_SERIAL_COMMUNICATION_H
#define QT_SERIAL_COMMUNICATION_H
#include "Communication.h"
#include "../SerialPort/ManageSerialPort.h"

/**
 * QT specific communication class
 * based on the communication interface
 * using the SerialPort implementation
 * by VIANNEY-LIAUD Philippe
 * ( philippe.vianney.liaud gmail.com )
 */


using namespace std;

class QTSerialCommunication : public Communication {
    private:
        ManageSerialPort * serial;
    public:
        QTSerialCommunication();
        void connect_MK(char * addr);
        void send_cmd(char cmd, int address, char data[150], unsigned int length, bool resend);
        void stop_resend();
};
#endif