/* Starts the transfer of len bytes from the data array on the specified serial port.  */
uint8_t TbxMbUartTransmit(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 TbxMbUartTransmit(tTbxMbUartPort port, uint8_t const *data, uint16_t len)
{
  uint8_t result = TBX_ERROR;
  TBX_ASSERT((port < TBX_MB_UART_NUM_PORT) && 
             (data != NULL) &&
             (len > 0U));
  if ((port < TBX_MB_UART_NUM_PORT) && 
      (data != NULL) &&
      (len > 0U))
  {
    result = TbxMbPortUartTransmit(port, data, len);
  }
  return result;
}