Modbus/TCP client connection. More...
#include <modbus_server.h>
Data Fields | |
ModbusConnectionState | state |
Connection state. More... | |
ModbusServerContext * | context |
Modbus/TCP server context. More... | |
Socket * | socket |
Underlying socket. More... | |
TlsContext * | tlsContext |
TLS context. More... | |
char_t | role [MODBUS_SERVER_MAX_ROLE_LEN+1] |
Client role OID. More... | |
systime_t | timestamp |
Time stamp. More... | |
uint8_t | requestAdu [MODBUS_MAX_ADU_SIZE] |
Request ADU. More... | |
size_t | requestAduLen |
Length of the request ADU, in bytes. More... | |
size_t | requestAduPos |
Current position in the request ADU. More... | |
uint8_t | requestUnitId |
Unit identifier. More... | |
uint8_t | responseAdu [MODBUS_MAX_ADU_SIZE] |
Response ADU. More... | |
size_t | responseAduLen |
Length of the response ADU, in bytes. More... | |
size_t | responseAduPos |
Current position in the response ADU. More... | |
Detailed Description
Modbus/TCP client connection.
Definition at line 278 of file modbus_server.h.
Field Documentation
◆ context
ModbusServerContext* context |
Modbus/TCP server context.
Definition at line 281 of file modbus_server.h.
◆ requestAdu
uint8_t requestAdu[MODBUS_MAX_ADU_SIZE] |
Request ADU.
Definition at line 288 of file modbus_server.h.
◆ requestAduLen
size_t requestAduLen |
Length of the request ADU, in bytes.
Definition at line 289 of file modbus_server.h.
◆ requestAduPos
size_t requestAduPos |
Current position in the request ADU.
Definition at line 290 of file modbus_server.h.
◆ requestUnitId
uint8_t requestUnitId |
Unit identifier.
Definition at line 291 of file modbus_server.h.
◆ responseAdu
uint8_t responseAdu[MODBUS_MAX_ADU_SIZE] |
Response ADU.
Definition at line 292 of file modbus_server.h.
◆ responseAduLen
size_t responseAduLen |
Length of the response ADU, in bytes.
Definition at line 293 of file modbus_server.h.
◆ responseAduPos
size_t responseAduPos |
Current position in the response ADU.
Definition at line 294 of file modbus_server.h.
◆ role
char_t role[MODBUS_SERVER_MAX_ROLE_LEN+1] |
Client role OID.
Definition at line 286 of file modbus_server.h.
◆ socket
Socket* socket |
Underlying socket.
Definition at line 282 of file modbus_server.h.
◆ state
ModbusConnectionState state |
Connection state.
Definition at line 280 of file modbus_server.h.
◆ timestamp
systime_t timestamp |
Time stamp.
Definition at line 287 of file modbus_server.h.
◆ tlsContext
TlsContext* tlsContext |
TLS context.
Definition at line 284 of file modbus_server.h.
The documentation for this struct was generated from the following file:
- cyclone_tcp/modbus/modbus_server.h