Qt Serial Port Echoes Input Qt Serial Port Echoes Input
-
I'm using Kubuntu 14. I have a gateway device plugged into /dev/ttyUSB0. When I use screen and send a command, I only get the response from the gateway. However, in my Qt program, (using Qt Serial Port), my command is always echoed back to me. I disabled echo on the device using stty -F /dev/ttyUSB0 -echo.
There is a similar problem here: " linux-c-serial-port-echoes-output":http://stackoverflow.com/questions/12506836/linux-c-serial-port-echoes-output. However it looks like it was never solved and I tried some of the suggestions there. How would I change the thermios settings using Qt?
I could try to program around the echo, but I would prefer to not deal with it. Any help would be appreciated.
-
As I say in the original post, I'm using Qt Serial Port. As the reference states:
bq. The following items are not supported by this module:
- Terminal features, such as echo, control CR/LF, and so on.
- Text mode.
- Configuring timeouts and delays while reading or writing.
- Pinout signal change notification.