Mercurial > hg > fxanalyse
view KKFX80E.h @ 258:5296f3bcd160
Implement DDS clients reconnect
On network send() failures try to reconnect to the server before
returning an error. This allows to restart the network servers
controlling the DDSes wiothout having to restart the clients.
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Tue, 16 Jun 2015 14:31:35 +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