31#ifndef _MODBUS_SERVER_TRANSPORT_H
32#define _MODBUS_SERVER_TRANSPORT_H
44void modbusServerAcceptConnection(ModbusServerContext *context);
46error_t modbusServerShutdownConnection(ModbusClientConnection *connection);
47void modbusServerCloseConnection(ModbusClientConnection *connection);
49error_t modbusServerSendData(ModbusClientConnection *connection,
const void *data,
50 size_t length,
size_t *written, uint_t flags);
52error_t modbusServerReceiveData(ModbusClientConnection *connection,
void *data,
53 size_t size,
size_t *received, uint_t flags);
error_t
Error codes.
Definition error.h:43