QtSerialPort project

Ruben
Hello

I've been playing around with QtSerialport, but having some issues. Has
anyone managed to get this going for a mini2440?

Thanks in advance

Ruben

Ruben
forgot to mention its for a mini2440. everything compiles when i set the
build to desktop, but fails on target (QTest/QTest does not exist).

Edison
I use qextserialport in the Mini2440. I don't have any problems. See this:
https://code.google.com/p/qextserialport/wiki/QextSerialPort_1_2_RC.

You should then use option 1: "Usage(1):Source Code Only".

Good Luck.

Ruben
Hi Edison

I also used qextserialport,until I discovered it reads the data
inconsistently. it would read 11 bytes, the next read will be 8 and the
next 3 bytes. Do you have a code snippet perhaps that I may use, maybe i'm
doing something wrong.

Thanks

Edison
Hi Ruben

Sorry for the delay. See this post:
http://theroomtech.blogspot.com/2013/06/mini2440-aplicacion-de-comunicac...

I use this librarys and the application works without any problems. 

Good Luck!!!!!

Ruben
Hi Edison

thanks for the reply. maybe I should be a bit more specific. The device I'm
interfacing with needs to be polled at 200ms intervals, if this is
inaccurate then the device will not be initialized.

this is basically what the problem is, i'm using qex and I compilled
qtserialport last night and tested it on my host which is an i5, but the
device is inconsistent and does not sync with my host. i'm using the QTimer
and the above mentioned libraries. tonight i'll have a look at what exactly
the response times are and the direction e.g. in/out.

thank you for the link, will have a look at it. 

Ruben

Ruben
I got it working with qtserialport using blocking synchronous mode.

rky
Hi Ruben,

 can please send me the procedure to setup and make working the serial port
in Mini2440

Ruben
Hi rky

I followed this link http://qt-project.org/wiki/QtSerialPort, providing my
qmake for mini2440 and copied the compiled lib into my project.

Ruben