top of page


Public·18 membres
Ruben Korolev
Ruben Korolev

ComPort For Android USB 2.6 XE6-D10.2 ((INSTALL))

<h1>What is ComPort for Android USB 2.6 XE6-D10.2 and How to Use It</h1>

<p>ComPort for Android USB 2.6 XE6-D10.2 is a component that enables serial communication with USB devices in Delphi and C++ Builder applications. It is based on the USB-serial-for-android library, which supports a wide range of USB serial devices from different manufacturers, such as FTDI, Prolific, Silabs, Qinheng, and CDC/ACM.</p>

ComPort for Android USB 2.6 XE6-D10.2

Download Zip:

<p>With ComPort for Android USB 2.6 XE6-D10.2, you can easily connect to any USB device that supports serial communication, such as Arduino, Raspberry Pi, GPS modules, barcode scanners, printers, and more. You can also connect multiple devices simultaneously and exchange data with them using standard serial port parameters, such as baud rate, data bits, parity, stop bits, and flow control.</p>

<p>ComPort for Android USB 2.6 XE6-D10.2 does not require any special root access privileges to work with USB devices. It also includes source code in the registered version and has a royalty-free distribution license. You can download it from the official website of Winsoft, which is a company that specializes in developing components and libraries for various platforms and languages.</p>

<h2>The Benefits of Using ComPort for Android USB 2.6 XE6-D10.2</h2>

<p>ComPort for Android USB 2.6 XE6-D10.2 offers many benefits for developers who want to use serial communication with USB devices in their Delphi and C++ Builder applications. Here are some of them:</p>


<li>It simplifies the process of connecting to USB devices and exchanging data with them.</li>

<li>It supports all serial port standards and allows you to customize them according to your needs.</li>

<li>It provides events and methods for reading and writing data asynchronously.</li>

<li>It can handle multiple devices at the same time and switch between them easily.</li>

<li>It is compatible with Delphi and C++ Builder XE6 to 10.3 versions.</li>

<li>It is easy to install and use.</li>


<h3>How to Install and Use ComPort for Android USB 2.6 XE6-D10.2</h3>

<p>To install and use ComPort for Android USB 2.6 XE6-D10.2 in your projects, you need to follow these steps:</p>


<li>Download the component from Winsoft's website and run the setup file.</li>

<li>Add the unit UsbSerial.pas to your project.</li>

<li>Drop a TUsbSerial component on your form or create it dynamically in code.</li>

<li>Set the DeviceName property to the name of the USB device you want to connect to.</li>

<li>Set the other properties according to your preferences, such as BaudRate, DataBits, Parity, StopBits, and FlowControl.</li>

<li>Call the Open method to open the connection.</li>

<li>Use the Read and Write methods to exchange data with the device.</li>

<li>Use the OnDataReceived event to handle incoming data.</li>

<li>Call the Close method to close the connection when you are done.</li>


<p>You can also use the TUsbSerialList component to enumerate all available USB devices and their names.</p>

<h4>An Example of Using ComPort for Android USB 2.6 XE6-D10.2</h4>

<p>The following code snippet shows how to use ComPort for Android USB 2.6 XE6-D10.2 to communicate with an Arduino Uno device:</p>





UsbSerial: TUsbSerial;

procedure TForm1.FormCreate(Sender: TObject);


UsbSerial := TUsbSerial.Create(Self);

UsbSerial.DeviceName := 'Arduino Uno';

UsbSerial.BaudRate := br9600;

UsbSerial.OnDataReceived := UsbSerialDataReceived;


procedure TForm1.FormDestroy(Sender: TObject);




procedure TForm1.Button1Click(Sender: TObject);


if not UsbSerial.Active then



procedure TForm1.Button2Click(Sender: TObject);


if UsbSerial.Active then



procedure TForm1.Button3Click(Sender: TObject);


Data: string;


Data := 'Hello Arduino!';

UsbSerial.Write(Data[1], Length(Data));


procedure TForm1.UsbSerialDataReceived(Sender: TObject; const Data: TBytes; Count: Integer);


S: string;


SetString(S, PAnsiChar(@Data[0]), Count);