diff KKFX80E.h @ 102:4f1f353e84f5

Add timeout to FX_Recv() function. Improve error handling in KKDataProvider
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Mon, 08 Apr 2013 16:18:05 +0200
parents c9e4f63c2033
children 3427013e4f70
line wrap: on
line diff
--- a/KKFX80E.h	Mon Apr 08 16:15:44 2013 +0200
+++ b/KKFX80E.h	Mon Apr 08 16:18:05 2013 +0200
@@ -16,7 +16,8 @@
 int FX_Open(char *port);
 void FX_Close(void);
 int FX_Send(char *cmd);
-char * FX_Recv(char **data);
+int FX_Recv(char **data, int timeout);
+char * FX_Error(void);
 
 #ifdef __cplusplus
     }