vMBMasterErrorCBUserHandler() function
This is modbus master user error handling funcion. If it is defined in the user application, then helps to handle the errors and received/sent buffers to transfer as well as handle the slave exception codes.
Arguments
xTransId
- the identification of the trasaction
usError
- the error code, see the enumeration eMBMasterErrorEventType
ucDestAddress
destination salve address
pucRecvData
current receive data pointer
ucRecvLength
current length of receive buffer
pucSendData
Send buffer data
ucSendLength
Send buffer length