M-Bus handle extended by maximum retry counter (in case of transmission
errors)
This commit is contained in:
parent
c86ed10af7
commit
97f2ac34ba
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user