Subversion Repositories Projects

Rev

Rev 397 | Rev 440 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 397 Rev 399
1
#include <QTCommunication.h>
1
#include <QTCommunication.h>
2
 
2
 
3
/**
3
/**
4
 * connect to Mikrokopter
4
 * connect to Mikrokopter
5
 */
5
 */
6
void QTCommunication::connect_MK(string addr) {
6
void QTCommunication::connect_MK(string addr) {
7
   
7
   
8
};
8
};
9
 
9
 
10
/**
10
/**
11
 * send command to Mikrokopter
11
 * send command to Mikrokopter
12
 */
12
 */
13
bool QTCommunication::send_cmd(char cmd, int address, char data[150], unsigned int length, bool resend) {
13
bool QTCommunication::send_cmd(char cmd, int address, char data[150], unsigned int length, bool resend) {
14
    return true;
14
    return true;
15
};
15
};
-
 
16
 
-
 
17
/**
-
 
18
 * stop sending commands to Mikrokopter
-
 
19
 * stop timer
16
 
20
 */
17
void QTCommunication::stop_resend() {
21
void QTCommunication::stop_resend() {
18
   
22
   
19
};
23
};