view KKFX80E.h @ 98:99cbe2b57530

Allow up to 16 messages to pile up in the communication between threads
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Tue, 26 Mar 2013 18:20:12 +0100
parents c9e4f63c2033
children 4f1f353e84f5
line wrap: on
line source

#ifndef __KKFX80E_H__
#define __KKFX80E_H__

#ifdef __cplusplus
    extern "C" {
#endif

int FX_Init(void);
void FX_Free(void);
int FX_OpenPort(char **port);
void FX_ClosePort(void);
int FX_SendCommand(char **cmd);
int FX_GetReport(char **sep);
void FX_Debug(BOOL value);

int FX_Open(char *port);
void FX_Close(void);
int FX_Send(char *cmd);
char * FX_Recv(char **data);

#ifdef __cplusplus
    }
#endif

#endif  /* ndef __KKFX80E_H__ */