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: |
||
397 | Brean | 17 | void connect_MK(string addr); |
18 | bool send_cmd(char cmd, int address, char data[150], unsigned int length, bool resend); |
||
19 | void stop_resend(); |
||
392 | Brean | 20 | }; |
21 | #endif |