M-Bus handle extended by maximum retry counter (in case of transmission

errors)
This commit is contained in:
Stefan Wahren 2012-07-14 16:15:45 +02:00
parent c86ed10af7
commit 97f2ac34ba

View File

@ -75,6 +75,7 @@
*/ */
struct _mbus_handle { struct _mbus_handle {
int fd; int fd;
int max_retry;
char is_serial; /**< _handle type (non zero for serial) */ char is_serial; /**< _handle type (non zero for serial) */
int (*open) (struct _mbus_handle *handle); int (*open) (struct _mbus_handle *handle);
int (*close) (struct _mbus_handle *handle); int (*close) (struct _mbus_handle *handle);