PDA

View Full Version : Best serial port library?



Momergil
23rd January 2013, 13:48
Hello!

I want to developed a software with serial port comunication (a USB-RS232 cabke will be connected in the PC (USB) and in a uController (RS232)).

Actually I did this quite a few times in the past using a little bit old version of QSerialDevice, so my problem is not about the connection itself. My doubt is about which avaliable lib around is the best. I know of



QExtSerialPort (http://code.google.com/p/qextserialport/);
QSerialPort (http://gitorious.org/inbiza-labs/qserialport),
QSerialDevice (https://gitorious.org/qserialdevice),
QtSerialPort (http://qt-project.org/wiki/QtSerialPort) and this
Qt Serial Port Driver (http://sourceforge.net/projects/qspd/),


but I have no idea which is best, that is, for my app: I need to build a 'validator' that will compare data received from two different parts of a system and I must check 1) if the data is the same in both parts and 2) the system's latency and other time-quality issues. So I need a lib that gives me 100% guarantee that the data received was that it presented me and that is really fast, and I know little about the options.

So could somebody please give me a hint on this?

Thanks,

Momergil

kuzulis
23rd January 2013, 15:46
QtSerialPort - it is a better case

wysota
23rd January 2013, 15:50
... said its author :D

kuzulis
23rd January 2013, 18:05
Yes, it's lobbying interests. :)

PS:
And to be honest, I'm right: QtSerialPort - is better on current time.
Just, ot everyone knows about it library, all the "by inertia" using QextSerialPort, which is much inferior...

Lesiok
24th January 2013, 06:38
I'm using QextSerialPort since 4 years. Now version 1.2 RC. I see no reason why I should change the library to QtSerialPort.