/* Event function to signal the reception of new data to this module.  */
void TbxMbUartDataReceived(tTbxMbUartPort port, uint8_t const *data, uint8_t len)
/* Event function to signal the reception of new data to this module.  */
void TbxMbUartDataReceived(tTbxMbUartPort port, uint8_t const *data, uint8_t len)
{
  TBX_ASSERT((port < TBX_MB_UART_NUM_PORT) && 
             (data != NULL) &&
             (len > 0U));
  if ((port < TBX_MB_UART_NUM_PORT) && 
      (data != NULL) &&
      (len > 0U))
  {
    if (uartInfo[port].dataReceivedFcn != NULL)
    {
      uartInfo[port].dataReceivedFcn(port, data, len);
    }
  }
}