Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Serial Port Problem - Use Half duplex
Hi there, I'm new on QT.
I just wonder how can I set up my serial port to half duplex?
What is half duplex? And what do you half duplex without Qt? :)
Why would you need half duplex? What is your target?
A serial port (RS232) connection usually is full duplex and/or uses hardware- or software handshaking.
My sensor type is half duplex :(
The sensor has 3 connect line such as vcc, gnd, tx/rx.
So, I have to use half duplex.
And you are sure it is RS232?
Of course :)
When I use it on embeded board, I set up as half duplex.
But not now..
On embedded board, Usart port give some function for half duplex.
A serial RS232 is full duplex by design/default. There must be a special protocol that your sensor is using or there must be some handshaking signals.
Can you post a link to the sensor or it's type.
Yes, that sensor is customized for us by some company. so, there is no link and I can't post a link :(
I think I can't make sure the answer for my problem.
One thing what I can try to something is to make interface board. :)
Thank you for your answer for me.
Post back if you have more information on the used interface and protocol and we will try to help :)