Rev 449 | Rev 451 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 449 | Rev 450 | ||
---|---|---|---|
Line 16... | Line 16... | ||
16 | class QTSerialCommunication : public Communication { |
16 | class QTSerialCommunication : public Communication { |
17 | private: |
17 | private: |
18 | ManageSerialPort * serial; |
18 | ManageSerialPort * serial; |
19 | public: |
19 | public: |
20 | QTSerialCommunication(); |
20 | QTSerialCommunication(); |
21 | void connect_MK(string addr); |
21 | void connect_MK(char * addr); |
22 | bool send_cmd(char cmd, int address, char data[150], unsigned int length, bool resend); |
22 | void send_cmd(char cmd, int address, char data[150], unsigned int length, bool resend); |
23 | void stop_resend(); |
23 | void stop_resend(); |
24 | }; |
24 | }; |
25 | #endif |
25 | #endif |
26 | 26 |