diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2015-09-05 12:43:05 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2015-09-07 13:06:40 +0000 |
commit | 3abd3ed07d2b30ecb2f8b9772ed5b3811bb9194b (patch) | |
tree | 48b84bfa7f3cebf5707e58a94d2b8f03773d7fd7 /dist | |
parent | 45bf94455c065b64dec65f354e62999b1c16cc7e (diff) | |
download | qtserialport-3abd3ed07d2b30ecb2f8b9772ed5b3811bb9194b.tar.gz |
Refactor the speed configuration for *nix
The internal implementation of this is a little tangled. It is
reasonable to simplify it:
1. Remove the setBaudRate_helper() method, as it is equivalent to
setStandardBaudRate() method.
2. Now the setStandardBaudRate() and the setCustomBaudRate() are
self-sufficient methods (can setup a speed and an error codes
internally) and return a boolean values.
Also added the "loopback" test for check of different speeds.
Tested with the on-board and the USB serial ports.
Change-Id: I4320c2e29ad42a394e07753cbaea804d0faf6b78
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions