- 18 Jan, 2017 - 1 commit
-
-
Denis Shienkov authored
Change-Id: I2aeeb762297707337273b0a1ecba8b3d13ed923f Reviewed-by:
Alex Blasche <alexander.blasche@qt.io>
-
- 17 Jan, 2017 - 2 commits
-
-
Andre Hartmann authored
Added hasErrorStateIndicator and setErrorStateIndicator to QCanBusFrame. * Setting QCanBusFrame::setErrorStateIndicator(true) also sets QCanBusFrame::setFlexibleDataRateFormat(true) * Setting QCanBusFrame::setFlexibleDataRateFormat(false) also sets QCanBusFrame::setErrorStateIndicator(false) [ChangeLog][QCanBusFrame] Added error state indicator flag to QCanBusFrame and set it appropriate receiving CAN FD frames with the SocketCAN plugin. Setting this flag for testing purposes is also possible. Change-Id: I406b693fc7b7cde8a0d6b2c34c1f313800f11203 Reviewed-by:
Rolf Eike Beer <eb@emlix.com> Reviewed-by:
Alex Blasche <alexander.blasche@qt.io>
-
Andre Hartmann authored
QCanBusFrame: Added hasBitrateSwitch and setBitrateSwitch to QCanBusFrame and therefore, increased the QCanBusFrame version number. * Setting QCanBusFrame::setBitrateSwitch(true) also sets QCanBusFrame::setFlexibleDataRateFormat(true) * Setting QCanBusFrame::setFlexibleDataRateFormat(false) also sets QCanBusFrame::setBitrateSwitch(false) QCanBusDevice: Reference implementation and documentation are done for the SocketCAN plugin. The CAN Example allows to send frames with Bitrate Switch enabled and visualize received frames with Bitrate Switch set. Unfortunately, the SocketCAN plugin does not allow to change any bitrate yet, so the newly added data bitrate selection box in ConnectDialog seems a bit useless. This box is however needed once other plugins become CAN FD capable and implement bitrate switching. [ChangeLog][QCanBusFrame] Introduced flag to allow data bitrate switching for CAN FD frames. Reference implementation is done for the SocketCAN plugin. Task-number: QTBUG-56720 Change-Id: Ieab04020f4750c8b0085624d2250ad7cd982cd96 Reviewed-by:
Rolf Eike Beer <eb@emlix.com> Reviewed-by:
Alex Blasche <alexander.blasche@qt.io>
-
- 16 Jan, 2017 - 1 commit
-
-
Andre Hartmann authored
Factor the bitrate selection logic out of connect dialog to allow re-using the logic for CAN FD data bitrate selection later. Change-Id: I0a509c6200dddbd6b254a5e7f0702e6b0c99d1a3 Reviewed-by:
Alex Blasche <alexander.blasche@qt.io>
-
- 13 Jan, 2017 - 1 commit
-
-
Andre Hartmann authored
QByteArray::toHex now allows to insert separator characters (e.g. spaces), so we don't need to do this here anymore. Change-Id: I3942d3dc3e1650e075d4b667706681dab9d977ed Reviewed-by:
Rolf Eike Beer <eb@emlix.com> Reviewed-by:
Alex Blasche <alexander.blasche@qt.io>
-
- 11 Jan, 2017 - 1 commit
-
-
Andre Hartmann authored
Change-Id: I4ec52799514b750c158e3cb8e6c38d1f1063c6c5 Reviewed-by:
Alex Blasche <alexander.blasche@qt.io>
-
- 10 Jan, 2017 - 3 commits
-
-
Andre Hartmann authored
Change-Id: Ic5c1d48c8b17014df2cc5adf5179c44f4dbd9fd3 Reviewed-by:
Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by:
Alex Blasche <alexander.blasche@qt.io>
-
Andre Hartmann authored
Returns: * a list of available devices for the chosen plugin * if the device is virtual * if the device is CAN FD capable Use this list in the CAN Example for interface selection. If information about virtual channels or CAN FD capabability is not available, false is returned. For SocketCAN, PeakCAN, VectorCAN and SystecCAN, the implementation is completed. TinyCAN only return the list of possible interfaces for now. This is can be changed later, but needs quite some refactoring of the TinyCAN plugin. [ChangeLog][QtCanBus] Added the new class QCanBusDeviceInfo for enumeration of available CAN interfaces and more information about them. Task-number: QTBUG-54298 Change-Id: I851bcc3b9ee41aaaf1164c6b4a5aaf6503cd8746 Reviewed-by:
Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by:
Alex Blasche <alexander.blasche@qt.io>
-
Andre Hartmann authored
Taken from https://www.kernel.org/doc/Documentation/networking/can.txt section 6.5.3: A device may enter the "bus-off" state if too many errors occurred on the CAN bus. Then no more messages are received or sent. An automatic bus-off recovery can be enabled by setting the "restart-ms" to a non-zero value, e.g.: $ ip link set canX type can restart-ms 100 Change-Id: I80b53e430988c0405269d4efe21f936ace0e3544 Reviewed-by:
Alex Blasche <alexander.blasche@qt.io> Reviewed-by:
Rolf Eike Beer <eb@emlix.com>
-
- 05 Jan, 2017 - 1 commit
-
-
Andre Hartmann authored
Add Windows support for CAN adapters of www.systec-electronic.com Linux support is available through a SocketCAN driver. Change-Id: Iaf5877d688c9cb404abe20210bd2352e82170d87 Reviewed-by:
Alex Blasche <alexander.blasche@qt.io>
-
- 12 Dec, 2016 - 3 commits
-
-
Liang Qi authored
Conflicts: examples/serialbus/can/mainwindow.cpp Change-Id: I8d821a832bc5bf966230b4f66f0113929b3114dc
-
Andre Hartmann authored
* Use C++11 member initialization for POD types * Unify usage of 'slots' keyword * Use override on derived virtual function * Inline one function that is used nowhere else * Break extra long lines Change-Id: I0d78b16f7416af9313e0e40335724fccbceaf53a Reviewed-by:
Alex Blasche <alexander.blasche@qt.io> Reviewed-by:
Denis Shienkov <denis.shienkov@gmail.com>
-
Andre Hartmann authored
The CAN network can be brought up with a single command. Change-Id: I87d896712089445d8d13cf54d22ff51266bc1939 Reviewed-by:
Alex Blasche <alexander.blasche@qt.io> Reviewed-by:
Rolf Eike Beer <eb@emlix.com>
-
- 08 Dec, 2016 - 1 commit
-
-
Friedemann Kleint authored
Amends change 254d78c8 . Change-Id: I4662a460a10b3122b993e6de6b1e269c507c8fa0 Reviewed-by:
André Hartmann <aha_1980@gmx.de>
-
- 02 Dec, 2016 - 1 commit
-
-
Friedemann Kleint authored
tst_qmodbuspdu.cpp(859): warning C4309: 'argument': truncation of constant value Change-Id: I88d9dd3c65abb79a7d536e4b30a62273ab155398 Reviewed-by:
André Hartmann <aha_1980@gmx.de> Reviewed-by:
Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by:
Karsten Heimrich <karsten.heimrich@qt.io>
-
- 26 Nov, 2016 - 1 commit
-
-
Liang Qi authored
Change-Id: I9bcd95cfd8420c02d2a591bad057fee6736a9ec5
-
- 24 Nov, 2016 - 1 commit
-
-
Liang Qi authored
Change-Id: I2a96957c3b4ea24a52c5690f3088c6679a7eedce
-
- 23 Nov, 2016 - 1 commit
-
-
Alex Blasche authored
and a minor doc fix in the same file Task-number: QTBUG-57213 Change-Id: I4171882a8498cd865ad5c6fdf9e96e8db27c12d2 Reviewed-by:
Lars Knoll <lars.knoll@qt.io> Reviewed-by:
Rolf Eike Beer <eb@emlix.com> Reviewed-by:
André Hartmann <aha_1980@gmx.de>
-
- 22 Nov, 2016 - 2 commits
-
-
Andre Hartmann authored
* Use the term "frame" instead "message" * Remote request length clarification * Start sentences with uppercase * Remove \fn specifier for functions next to the documentation Change-Id: I6af57e6d60c6982a6896e28e2a04a39e08c36385 Reviewed-by:
Alex Blasche <alexander.blasche@qt.io> Reviewed-by:
Rolf Eike Beer <eb@emlix.com>
-
Andre Hartmann authored
Change-Id: If7240fa84300e94c38662edb7e81a33469cb47b3 Reviewed-by:
Alex Blasche <alexander.blasche@qt.io> Reviewed-by:
Rolf Eike Beer <eb@emlix.com>
-
- 19 Nov, 2016 - 1 commit
-
-
Andre Hartmann authored
Change-Id: Id16e592806e8b852bebebf06b1f7dfa4ec03a3ca Reviewed-by:
Alex Blasche <alexander.blasche@qt.io>
-
- 16 Nov, 2016 - 4 commits
-
-
Alex Blasche authored
The language test is obsolete since 5.8 fulfills the C++11 requirements. Change-Id: I05e6f7343c6cac8edefc98fcb6dc837d1507f04b Reviewed-by:
Lars Knoll <lars.knoll@qt.io>
-
Liang Qi authored
Conflicts: src/plugins/canbus/peakcan/main.cpp src/plugins/canbus/tinycan/main.cpp src/serialbus/qcanbusframe.h Change-Id: I7a38350688086b5f5cd7072acccb3fa38af76f88
-
Liang Qi authored
Conflicts: tests/auto/qmodbuspdu/tst_qmodbuspdu.cpp Change-Id: Id97e8ef6a6c176add1eda3738888c69c33f5378c
-
Alex Blasche authored
The first stable API release is Qt 5.8. It makes no sense to document the changes before 5.8. Furthermore the meaning of \since 5.8 before this tag was rather unknown. It could have meant the function was changed or added. This double meaning disappears once a compatibility statement is in place. Change-Id: I047e15bdd92a8c1034947b9b6d03439a293af318 Reviewed-by:
Rolf Eike Beer <eb@emlix.com> Reviewed-by:
André Hartmann <aha_1980@gmx.de>
-
- 15 Nov, 2016 - 5 commits
-
-
Alex Blasche authored
Change-Id: I7c10f5b913448e9173cd498cb46cf70a21702c19 Reviewed-by:
Rolf Eike Beer <eb@emlix.com> Reviewed-by:
André Hartmann <aha_1980@gmx.de>
-
Rolf Eike Beer authored
Change-Id: I3ecb7a35a859dfc63e0e2017b979fcb826df776c Reviewed-by:
Alex Blasche <alexander.blasche@qt.io> Reviewed-by:
André Hartmann <aha_1980@gmx.de>
-
Rolf Eike Beer authored
Change-Id: I5c2940a37aa6d4261eb34ca8c90199905ba45868 Reviewed-by:
Alex Blasche <alexander.blasche@qt.io>
-
Rolf Eike Beer authored
Task-number: QTBUG-49675 Task-number: QTBUG-56720 Change-Id: Id24783c6ee1b81317d2e6d0965a9ed37987b47ec Reviewed-by:
André Hartmann <aha_1980@gmx.de> Reviewed-by:
Alex Blasche <alexander.blasche@qt.io>
-
Andre Hartmann authored
This allows easier modifications of this function later, e.g. optimizations. Change-Id: Ibb2000a49b10e20931201f5eb5c17d05605c52a9 Reviewed-by:
André Hartmann <aha_1980@gmx.de> Reviewed-by:
Alex Blasche <alexander.blasche@qt.io>
-
- 14 Nov, 2016 - 1 commit
-
-
Andre Hartmann authored
* More description for some QCanBusDevice configuration parameters * Describe QCanBusDevice::framesReceived() better * Some small fixes Change-Id: I98e034c03f89495e7290f072d2b6d7582fac7209 Reviewed-by:
Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by:
Alex Blasche <alexander.blasche@qt.io> Reviewed-by:
Rolf Eike Beer <eb@emlix.com>
-
- 11 Nov, 2016 - 3 commits
-
-
Rolf Eike Beer authored
It makes no sense to return all information in different variables and assemble the frame in the caller, just let this method put everything into the frame. While at it, give the method a more sensible name. Change-Id: If7e7d467ac4c43d2b2cf245c95e8fe99551aa242 Reviewed-by:
Andreas Wilhelm <aw@emlix.com> Reviewed-by:
André Hartmann <aha_1980@gmx.de>
-
Andre Hartmann authored
The signal framesReceived() is emitted, when one or more CAN frames were received from CAN bus. Reading only the first frame may leave more CAN frames in the receive queue, seemingly leading to frame loss. Task-number: QTBUG-56886 Change-Id: I9cbb9451eb67e6058a779aba678beb215f1113e9 Reviewed-by:
Rolf Eike Beer <eb@emlix.com> Reviewed-by:
Andreas Wilhelm <aw@emlix.com> Reviewed-by:
Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by:
Alex Blasche <alexander.blasche@qt.io>
-
Rolf Eike Beer authored
fdFrame has been set to false right at the start of this method and has not been touched since. Change-Id: Ibfd9b799a4298cfbc306c3ae6cbaffd1331aefb3 Reviewed-by:
Alex Blasche <alexander.blasche@qt.io> Reviewed-by:
André Hartmann <aha_1980@gmx.de>
-
- 06 Nov, 2016 - 1 commit
-
-
Oswald Buddenhagen authored
the CI obtains them from the qt5 super repo nowadays. Change-Id: I528e92563d2a30c44d185811d40a133af7690e2d Reviewed-by:
Jędrzej Nowacki <jedrzej.nowacki@qt.io>
-
- 04 Nov, 2016 - 3 commits
-
-
Samuel Gaist authored
The various byte count fields are all unsigned byte however the incoming data are loaded in a QByteArray which returns signed char. This patch fixes this by converting the field value to quint8. [ChangeLog][Modbus] Fixed handling of packets with payloads longer than 127 bytes. Task-number: QTBUG-54834 Change-Id: I699c4cf0cea9933bef6c040c573d2d6e6a113920 Reviewed-by:
André Hartmann <aha_1980@gmx.de>
-
Thiago Macieira authored
We just stream the base class, so let's make it official. Change-Id: Ic46ff326a6ba46bc877cfffd14831e78f491b5c0 Reviewed-by:
Alex Blasche <alexander.blasche@qt.io>
-
Andre Hartmann authored
Change-Id: I0ffac644fc510d4657c44085810fff38dba5cd36 Reviewed-by:
Alex Blasche <alexander.blasche@qt.io>
-
- 03 Nov, 2016 - 2 commits
-
-
Andre Hartmann authored
Change-Id: I0477369288b9c9bdcd39fd083172e8b0237aaa1f Reviewed-by:
Alex Blasche <alexander.blasche@qt.io>
-
Andre Hartmann authored
This affects only the examples, not the QCanBus API. Change-Id: Iccfe0cb7713572eb95ae23aabab51e2f10dd3593 Reviewed-by:
Andreas Wilhelm <aw@emlix.com> Reviewed-by:
Alex Blasche <alexander.blasche@qt.io>
-