Name

cyg_modbus_response_exception — Provide MODBUS exception response

Synopsis

#include <cyg/modbus.h>

cyg_bool cyg_modbus_response_exception(cyg_handle_t ctx, cyg_modbus_error ecode);

Description

If the backend handler detects an error, or needs to notify the remote client of an exceptional result, this function is used to provide such a MODBUS exception response.

Return value

Currently only ENOERR is returned.