Subversion Repositories Projects

Rev

Rev 140 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 140 Rev 483
Line 1... Line 1...
1
 
1
 
-
 
2
 
2
 
3
#include <stdio.h>
3
#include <stdio.h>
4
#include <termios.h>
4
#include <sys/socket.h>
5
#include <sys/socket.h>
5
#include <sys/types.h>
6
#include <sys/types.h>
6
#include <netinet/in.h>
7
#include <netinet/in.h>
Line 39... Line 40...
39
extern int mk_socket;
40
extern int mk_socket;
Line 40... Line 41...
40
 
41
 
41
//int connect_mk_bluetooth(char dest[18]);
42
//int connect_mk_bluetooth(char dest[18]);
42
int connect_mk_localhost_socket(int port);
43
int connect_mk_localhost_socket(int port);
-
 
44
int connect_mk_bluetooth(char dest[18]);
Line 43... Line 45...
43
int connect_mk_bluetooth(char dest[18]);
45
int connect_mk_tty(char* tty_filename);
44
 
46
 
Line -... Line 47...
-
 
47
void SendOutData(unsigned char cmd,unsigned char modul, unsigned char *snd, unsigned char len);
-
 
48
int read_from_mk();
-
 
49
 
45
void SendOutData(unsigned char cmd,unsigned char modul, unsigned char *snd, unsigned char len);
50
 
46
int read_from_mk();
51
#define MAX_BUFF_LEN 150
47
 
52