Help Me About struct _modbus or modbus_t

K

Thread Starter

Karthik

I have downloaded the libmodbus 3.0.1 from libmodbus.org and extracted it and compiled it. now I am reading documents about the programming part of modbus. but in the header file modbus.h, it says that
typedef struct _modbus modbus_t;

I know what the above statement does. But I cant find anywhere struct _modbus. I have to know the parameters of struct _modbus. please help me.
 
Hello,

Well I do not use this source but I was interested how you could compile and not have the source or obj file.

And alas, you do have the source.

typedef struct _modbus modbus_t;

So you must find _modbus.

And in modbus-private.h you find at line 103:

struct _modbus {
...

Good luck,

Mark
http://www.peakhmi.com/
 
Top