Subversion Repositories Projects

Rev

Rev 130 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 130 Rev 140
Line 3... Line 3...
3
#include <stdio.h>
3
#include <stdio.h>
4
#include <sys/socket.h>
4
#include <sys/socket.h>
5
#include <sys/types.h>
5
#include <sys/types.h>
6
#include <netinet/in.h>
6
#include <netinet/in.h>
7
#include <unistd.h>
7
#include <unistd.h>
-
 
8
#include <inttypes.h>
8
#include "bluetooth_handler.h"
9
#include "bluetooth_handler.h"
9
#include "statistics.h"
10
#include "statistics.h"
Line 10... Line 11...
10
 
11
 
11
struct ExternControl_s
12
struct ExternControl_s
Line 20... Line 21...
20
  unsigned char free;         // (unbenutzt)
21
  unsigned char free;         // (unbenutzt)
21
  unsigned char Frame;        // (Bestätigung)
22
  unsigned char Frame;        // (Bestätigung)
22
  unsigned char Config;
23
  unsigned char Config;
23
};
24
};
Line -... Line 25...
-
 
25
 
-
 
26
struct str_DebugOut
-
 
27
{
-
 
28
 unsigned char Digital[2];
-
 
29
  //# signed int
-
 
30
 
-
 
31
uint16_t Analog[32];    // Debugwert//
-
 
32
};
-
 
33
 
-
 
34
struct str_DebugOut    DebugOut;
-
 
35
 
24
 
36
 
Line 25... Line 37...
25
struct ExternControl_s  ExternControl;
37
struct ExternControl_s  ExternControl;
Line 26... Line 38...
26
 
38
 
Line 31... Line 43...
31
int connect_mk_bluetooth(char dest[18]);
43
int connect_mk_bluetooth(char dest[18]);
Line 32... Line 44...
32
 
44
 
33
void SendOutData(unsigned char cmd,unsigned char modul, unsigned char *snd, unsigned char len);
45
void SendOutData(unsigned char cmd,unsigned char modul, unsigned char *snd, unsigned char len);
Line 34... Line 46...
34
int read_from_mk();
46
int read_from_mk();
35
 
47
 
36
extern char RxBuffer[150];
48
extern unsigned char RxBuffer[150];