Rev 127 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 127 | Rev 130 | ||
---|---|---|---|
Line -... | Line 1... | ||
- | 1 | ||
1 | 2 | ||
2 | #include <stdio.h> |
3 | #include <stdio.h> |
3 | #include <sys/socket.h> |
4 | #include <sys/socket.h> |
4 | #include <sys/types.h> |
5 | #include <sys/types.h> |
5 | #include <netinet/in.h> |
6 | #include <netinet/in.h> |
6 | #include <unistd.h> |
- | |
- | 7 | #include <unistd.h> |
|
- | 8 | #include "bluetooth_handler.h" |
|
Line 7... | Line 9... | ||
7 | 9 | #include "statistics.h" |
|
8 | 10 | ||
9 | struct ExternControl_s |
11 | struct ExternControl_s |
10 | { |
12 | { |
Line 24... | Line 26... | ||
24 | 26 | ||
Line 25... | Line 27... | ||
25 | extern int mk_socket; |
27 | extern int mk_socket; |
26 | 28 | ||
- | 29 | //int connect_mk_bluetooth(char dest[18]); |
|
Line 27... | Line 30... | ||
27 | //int connect_mk_bluetooth(char dest[18]); |
30 | int connect_mk_localhost_socket(int port); |
- | 31 | int connect_mk_bluetooth(char dest[18]); |
|
Line -... | Line 32... | ||
- | 32 | ||
- | 33 | void SendOutData(unsigned char cmd,unsigned char modul, unsigned char *snd, unsigned char len); |
|
- | 34 | int read_from_mk(); |