cyg_modbus_response

Name

cyg_modbus_response -- Provide MODBUS response

Synopsis

#include <cyg/modbus.h>

Cyg_ErrNo cyg_modbus_response(cyg_handle_t ctx, cyg_uint8 len, cyg_uint8 *data);

Description

Provide the MODBUS server with a valid PDU response for a request handed to the relevant backend handler. The data allows the backend application to reference its own data buffer, which may be in read-only memory.

Return value

Currently only ENOERR is returned.

2017-02-09
Documentation license for this page: eCosPro License