rasProject_01 / weSweetHome
R. 240
process control / RasPi software by weinert-automation
|
Structure for Modbus TCP. More...
#include <weModbus.h>
Data Fields | |
char | addr [21] |
Modbus IP (4) address as string. More... | |
modbus_t * | ctx |
Pointer to (libmodbus) Modbus structure. | |
modBusLinkState_t | mlStat |
connection/slave state | |
uint16_t | port |
Modbus IP port. More... | |
Structure for Modbus TCP.
char addr[21] |
Modbus IP (4) address as string.
for server: 0.0.0.0 (accept from all)
uint16_t port |
Modbus IP port.
default value: 1502; Hint: 502 will need sudo for the server.