Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
127 ligi 1
 
2
#include <stdio.h>
3
#include <sys/socket.h>
4
#include <sys/types.h>
5
#include <netinet/in.h>
6
#include <unistd.h>
7
 
8
 
9
struct ExternControl_s
10
{
11
  unsigned char Digital[2];   // (noch unbenutzt)
12
  unsigned char RemoteTasten; //(gab es schon für das virtuelle Display)
13
  signed char   Nick;
14
  signed char   Roll;
15
  signed char   Gier;
16
  unsigned char Gas;          //(es wird das Stick-Gas auf diesen Wert begrenzt; --> StickGas ist das Maximum)
17
  signed char   Higt;        //(Hoehenregler)
18
  unsigned char free;         // (unbenutzt)
19
  unsigned char Frame;        // (Bestätigung)
20
  unsigned char Config;
21
};
22
 
23
struct ExternControl_s  ExternControl;
24
 
25
extern int mk_socket;
26
 
27
//int connect_mk_bluetooth(char dest[18]);
28
int connect_mk_localhost_socket(int port);
29
 
30
void SendOutData(unsigned char cmd,unsigned char modul, unsigned char *snd, unsigned char len);
31