equal
deleted
inserted
replaced
81 * will point to str1 and str2 respectively |
81 * will point to str1 and str2 respectively |
82 */ |
82 */ |
83 typedef struct{ |
83 typedef struct{ |
84 const char *location; |
84 const char *location; |
85 const char *config_name; |
85 const char *config_name; |
|
86 char str1[MODBUS_PARAM_STRING_SIZE]; |
|
87 char str2[MODBUS_PARAM_STRING_SIZE]; |
86 u8 slave_id; |
88 u8 slave_id; |
87 node_addr_t node_address; |
89 node_addr_t node_address; |
88 int mb_nd; // modbus library node used for this server |
90 int mb_nd; // modbus library node used for this server |
89 int init_state; // store how far along the server's initialization has progressed |
91 int init_state; // store how far along the server's initialization has progressed |
90 pthread_t thread_id; // thread handling this server |
92 pthread_t thread_id; // thread handling this server |