/* Starts the transfer of len bytes from the data array on the specified serial port.  */
uint8_t TbxMbPortUartTransmit(tTbxMbUartPort port, uint8_t const *data, uint16_t len)
/* Starts the transfer of len bytes from the data array on the specified serial port.  */
uint8_t TbxMbPortUartTransmit(tTbxMbUartPort port, uint8_t const *data, uint16_t len)
{
  uint8_t result = TBX_ERROR;
  TbxMbPortUartDriverEnable(port, TBX_ON);
  if (HAL_UART_Transmit_IT(&uartChannel[port].handle, (uint8_t *)data, len) == HAL_OK)
  {
    result = TBX_OK;
  }
  return result;
}