comparison 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
comparison
equal deleted inserted replaced
101:8b90fbba59ef 102:4f1f353e84f5
14 void FX_Debug(BOOL value); 14 void FX_Debug(BOOL value);
15 15
16 int FX_Open(char *port); 16 int FX_Open(char *port);
17 void FX_Close(void); 17 void FX_Close(void);
18 int FX_Send(char *cmd); 18 int FX_Send(char *cmd);
19 char * FX_Recv(char **data); 19 int FX_Recv(char **data, int timeout);
20 char * FX_Error(void);
20 21
21 #ifdef __cplusplus 22 #ifdef __cplusplus
22 } 23 }
23 #endif 24 #endif
24 25