uint32_t EI_API_ADP_setErrorHandlerFunc | ( | EI_API_ADP_CBStackError | callback_p | ) |
Set the stack error handler function.
This function sets the error handler function for the EtherNet/IP stack. Using NULL as parameter of EI_API_ADP_setErrorHandlerFunc
resets the callback function.
[in] | callback_p | Callback function of EI_API_ADP_CBStackError type. |
EI_API_ADP_eERR_OK | Success. |
EI_API_ADP_eERR_GENERAL | General error. |