modbus_client_transport.h
Modbus/TCP client.
error_t modbusClientOpenConnection(ModbusClientContext *context)
Open network connection.
Definition: modbus_client_transport.c:50
error_t modbusClientSendData(ModbusClientContext *context, const void *data, size_t length, size_t *written, uint_t flags)
Send data using the relevant transport protocol.
Definition: modbus_client_transport.c:236
void modbusClientCloseConnection(ModbusClientContext *context)
Close network connection.
Definition: modbus_client_transport.c:206
error_t modbusClientEstablishConnection(ModbusClientContext *context, const IpAddr *serverIpAddr, uint16_t serverPort)
Establish network connection.
Definition: modbus_client_transport.c:129
error_t modbusClientReceiveData(ModbusClientContext *context, void *data, size_t size, size_t *received, uint_t flags)
Receive data using the relevant transport protocol.
Definition: modbus_client_transport.c:270
error_t modbusClientShutdownConnection(ModbusClientContext *context)
Shutdown network connection.
Definition: modbus_client_transport.c:169
TCP/IP stack core.