[Resolved]Can't configure setting when my program use QserialPort
-
Hi guys:
is there anyone have the problem that the same application in the different computers, one can work and the other one can't?? My program use QserialPort library to communicate with other machine. And the weird thing is in my computer i can change the setting(baudrate, parity...etc), but in the other computer these fucntion will return false. Does anyone have any idea?? -
Hi,
Are you using linux ? If so, did you check that the user of the other machine has the rights to access the serial port ? e.g. being part of the "dialout" group
-
Then did you hard code the name of the serial port and the computers don't use the same ?
-
bq. "The parameter is incorrect.”
-
What type of serial port (chip) did you use?
-
Please give more info what do you do..
-
After what of method appears this error?
-
What version of QtSerialPort did you use?
-
Can you reproduce this error with Terminal example ?
-
Can you open these serial ports using others terminals (putty, termite, terraterm)?
-
-
UPD: Probably, it is this bug: https://qt.gitorious.org/qt/qtserialport/commit/fdfd7f69743c64850979c333ddd4d2677d3d2d25
which is fixed in future Qt 5.4.1. But you can manually try to download and rebuild of QtSerialPort from sources (from the 5.4 branch).