How to program the reception of data with qextserialport
Hi, i don't know how to program the Receiver ( Rx) in the qt . Im sending a struct with certain data ( through serial communication) and i want to check if that information reached correctly ( without lossing any data).
Can anyone provide me an example of the receiver ? ( obviously in qt c++)
Why is qextserialport? What is reason for it?
You can use "QtSerialPort":http://qt-project.org/wiki/QtSerialPort module for your task.
You can read "documentation":http://qt-project.org/doc/qt-5.1/qtserialport/qtserialport-index.html and see examples.
Note: The QtSerialPort module is available in Qt5.1 and above. For others version of Qt you should build and install the module manually.
i have QT 4.7.1 . In the links that you sent me , there is no example of the serial communication receiver .. :S .
bq. there is no example of the serial communication receiver
It because you not attentive...
bq. i have QT 4.7.1
then yes, your choose is qextserialport
Do I have to use qextserialport because i have qt 4.7.1 ???
Yes, because QtSerialPort supports on Qt4.8.0 and above
oooh, so , what do i have to do ? , I am sending a struct through serial comunication to a microcontroller that turns on a LED, i want the microcontroller to send me the crc of the package of data that i sent from qt , can you give me a helping hand with this? i have to develop the qt part , in order to be prepare to receive the information to check that the struct was sent correctly
See QextSerialPort's examples: http://code.google.com/p/qextserialport/source/browse/#git/examples
Or you has banned in Google? :)
TEMPLATE = subdirs
SUBDIRS = qespta enumerator
win32:SUBDIRS += event
SERIOUSLY ? do you consider this an example? do you really think a person who is beginning with this stuff can understand this? come on asjoul