view KKFX80E.h @ 255:ada536bc461b

Use 127.0.0.1 as example address in FXAnalyse.ini Avoid any interference with real hardware during testing
author Daniele Nicolodi <daniele@grinta.net>
date Fri, 05 Jun 2015 18:10:46 +0200
parents eaac96094640
children
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);
int FX_Recv(char **data, int timeout);
char * FX_Error(void);

#ifdef __cplusplus
    }
#endif

#endif