Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
392 | Brean | 1 | #ifndef QT_COMMUNICATION_H |
2 | #define QT_COMMUNICATION_H |
||
3 | #include <Communication.h> |
||
4 | |||
5 | /** |
||
6 | * QT specific communication class |
||
7 | * based on the communication interface |
||
8 | * using the SerialPort implementation |
||
9 | * by VIANNEY-LIAUD Philippe |
||
10 | * ( philippe.vianney.liaud gmail.com ) |
||
11 | */ |
||
12 | |||
396 | Brean | 13 | using namespace std; |
14 | |||
392 | Brean | 15 | class QTCommunication : public Communication { |
16 | public: |
||
17 | void connectMK(string addr); |
||
18 | bool sendCmd(char cmd, int address, char data[150], unsigned int length, bool resend); |
||
396 | Brean | 19 | void stopReSend(); |
392 | Brean | 20 | }; |
21 | #endif |