Subversion Repositories Projects

Rev

Rev 130 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed


#include <stdio.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <unistd.h>


struct ExternControl_s
{
  unsigned char Digital[2];   // (noch unbenutzt)
  unsigned char RemoteTasten; //(gab es schon für das virtuelle Display)
  signed char   Nick;
  signed char   Roll;
  signed char   Gier;
  unsigned char Gas;          //(es wird das Stick-Gas auf diesen Wert begrenzt; --> StickGas ist das Maximum)
  signed char   Higt;        //(Hoehenregler)
  unsigned char free;         // (unbenutzt)
  unsigned char Frame;        // (Bestätigung)
  unsigned char Config;
};

struct ExternControl_s  ExternControl;

extern int mk_socket;

//int connect_mk_bluetooth(char dest[18]);
int connect_mk_localhost_socket(int port);

void SendOutData(unsigned char cmd,unsigned char modul, unsigned char *snd, unsigned char len);