Results 1 to 3 of 3
I have downloaded libmodbus3.0.1 from libmodbus.org ,
in the headerfile modbus.h there is a line
typedef struct _modbus modbus_t;
but i cannot find the struct definition and the parameters of
...
- 08-23-2011 #1Just Joined!
- Join Date
- Aug 2011
- Posts
- 9
Can't find Parameters of struct _modbus or modbus_t
I have downloaded libmodbus3.0.1 from libmodbus.org,
in the headerfile modbus.h there is a line
typedef struct _modbus modbus_t;
but i cannot find the struct definition and the parameters of
struct _modbus.
Please help me.Can anyone define the struct _modbus structure completely and tell me where it is found?
- 01-27-2012 #2Just Joined!
- Join Date
- Jan 2012
- Posts
- 2
i m having same problem
i m having same problem , do u get any kind of solution for this problem , if u find out the problem pls tell me ....
- 01-30-2012 #3Just Joined!
- Join Date
- Aug 2011
- Posts
- 9
modbus_t:-
definition is at modbus.h
Code:typedef struct _modbus modbus_t;
Found in modbus-private.h
Code:struct _modbus { /* Slave address */ int slave; /* Socket or file descriptor */ int s; int debug; int error_recovery; struct timeval response_timeout; struct timeval byte_timeout; const modbus_backend_t *backend; void *backend_data; };


Reply With Quote