Modbus/TCP server settings. More...
#include <modbus_server.h>
Detailed Description
Modbus/TCP server settings.
Definition at line 248 of file modbus_server.h.
Field Documentation
◆ closeCallback
ModbusServerCloseCallback closeCallback |
TCP connection close callback function.
Definition at line 256 of file modbus_server.h.
◆ interface
NetInterface* interface |
Underlying network interface.
Definition at line 251 of file modbus_server.h.
◆ lockCallback
ModbusServerLockCallback lockCallback |
Lock Modbus table callback function.
Definition at line 260 of file modbus_server.h.
◆ openCallback
ModbusServerOpenCallback openCallback |
TCP connection open callback function.
Definition at line 255 of file modbus_server.h.
◆ port
uint16_t port |
Modbus/TCP port number.
Definition at line 252 of file modbus_server.h.
◆ processPduCallback
ModbusServerProcessPduCallback processPduCallback |
PDU processing callback function.
Definition at line 269 of file modbus_server.h.
◆ readCoilCallback
ModbusServerReadCoilCallback readCoilCallback |
Get coil state callback function.
Definition at line 262 of file modbus_server.h.
◆ readDiscreteInputCallback
ModbusServerReadCoilCallback readDiscreteInputCallback |
Get discrete input state callback function.
Definition at line 263 of file modbus_server.h.
◆ readHoldingRegCallback
ModbusServerReadRegCallback readHoldingRegCallback |
Get holding register value callback function.
Definition at line 266 of file modbus_server.h.
◆ readInputRegCallback
ModbusServerReadRegCallback readInputRegCallback |
Get input register value callback function.
Definition at line 267 of file modbus_server.h.
◆ readRegCallback
ModbusServerReadRegCallback readRegCallback |
Get register value callback function.
Definition at line 265 of file modbus_server.h.
◆ task
OsTaskParameters task |
Task parameters.
Definition at line 250 of file modbus_server.h.
◆ tickCallback
ModbusServerTickCallback tickCallback |
Tick callback function.
Definition at line 270 of file modbus_server.h.
◆ timeout
systime_t timeout |
Idle connection timeout.
Definition at line 254 of file modbus_server.h.
◆ tlsInitCallback
ModbusServerTlsInitCallback tlsInitCallback |
TLS initialization callback function.
Definition at line 258 of file modbus_server.h.
◆ unitId
uint8_t unitId |
Unit identifier.
Definition at line 253 of file modbus_server.h.
◆ unlockCallback
ModbusServerUnlockCallback unlockCallback |
Unlock Modbus table callback function.
Definition at line 261 of file modbus_server.h.
◆ writeCoilCallback
ModbusServerWriteCoilCallback writeCoilCallback |
Set coil state callback function.
Definition at line 264 of file modbus_server.h.
◆ writeRegCallback
ModbusServerWriteRegCallback writeRegCallback |
Set register value callback function.
Definition at line 268 of file modbus_server.h.
The documentation for this struct was generated from the following file:
- cyclone_tcp/modbus/modbus_server.h