cyg_modbus_response_nocopy — Provide MODBUS response (no copy)
cyg_bool cyg_modbus_response_nocopy(cyg_handle_t ctx, cyg_uint8 len
cyg_modbus_response() call this function
is used to provide the MODBUS server with a valid response to a
request handed to the backend for processing. This call assumes that
the original PDU buffer (as referenced through the
ctx handle) contains the response data.
This “PDU buffer” re-use can simplify the backend processing, since it no longer needs to dynamically manage buffers that are handed-off to the main MODBUS server control.
ENOERR is returned.
|2019-06-13||eCosPro Non-Commercial Public License|