| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Make use of the detailed (and localized) error messages that
QLibrary already provides.
Example:
Cannot load library pcanbasic: \
(pcanbasic: cannot open shared object file: No such file or directory)
Change-Id: I3f4fd42d1872a00f2c4ecc6172ccc17995c7888e
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For SocketCAN this was already done in
71d19b3e9ccbbfc3131fbd21d983faaca0002621
Change-Id: I734e1d83901f8ce2de189f7d873724aa4aab989f
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The warning is already shown in PeakCanBusPlugin::createDevice()
and TinyCanBusPlugin::createDevice() so it does not need to be
done here.
Change-Id: Ifac34d9b96eff5920d09f3c971caeda62d97839a
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Mostly, the interfaces now simply start with can0 and the number
increases for every next interface.
Some vendors distinguish between e.g. PCI and USB interfaces. In this
case, the interfaces are named usb0 and pci0, with increasing numbers,
respectively.
Multiple channels per device are accessed by adding the channel number
after a dot: can0.0 for the first channel in the first device (TinyCAN).
SocketCAN is still a bit different, as it allows arbitrary interface
names to be mapped to the hardware or virtual CAN busses.
[ChangeLog][QtSerialBus][Unify interface names] The interface names
of the different backends were unified to follow a common rule: The
prefixes were unified, the numbering now always starts with zero.
Change-Id: Ia2ca76a9be01b9123aed1ede90debf69871bb82c
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
|\ \ \ |
|
| |\| |
| | | |
| | | |
| | | | |
Change-Id: I5202af1faa3b92018747b38fe54524cc712d2f43
|
| | |\|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
src/plugins/canbus/peakcan/peakcanbackend.cpp
One side renamed a member.
The other changed some code using it.
Change-Id: I14131122835ab9014894eadf4b529bdfd413e436
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
... for PEAK and TINY backends.
Change-Id: I0285107616bbfbaa91df266e2116f5d7460d60ca
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The assignment '=' operator has a lower priority,
than the comparison '==, !=' operators. Thus, the
result of logical statements is wrong.
Change-Id: Iab281f1f3dd95b59da94379fd68a45f75e2dd5ac
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|/ / /
| | |
| | |
| | |
| | | |
Change-Id: I78fdf3ebf0d5becd11a003596c0f3ec3aa556504
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
[ChangeLog] Before, createDevice() could only return
nullptr if anything goes wrong. Now, an optional textual
error description can be returned.
Task-number: QTBUG-53642
Change-Id: Ie097e5c63096ae6a6fb9a798e4a8f23219cf1cfb
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We do not need to keep separate enableWriteNotification()
and enableReadNotification() methods; their bodies can be
moved to the open()/close() methods, that simplifies the
code.
Change-Id: I7a6c1dd5ccfea51b0506e717c9809faa59f13161
Reviewed-by: André Hartmann <aha_1980@gmx.de>
|
| |
| |
| |
| |
| |
| |
| |
| | |
... that better express their purpose.
Change-Id: I2a725e755695df2eab2b11289b44d90a81012f04
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
... also made small cosmetic dependent refactoring of
plugins project files.
Change-Id: I0fbfd585c14868944a3cac8ff5bd82408a5cace6
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|/
|
|
|
|
| |
Change-Id: Id666c7c78b159955db1b494f6997437b6ea19bc1
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|
|
|
|
|
|
| |
... and use the QScopedPointer instead, where possible.
Change-Id: Ie503d5ff31af77cf6a495f324c1e93c34ff7d58b
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
... in comments, user and debug output, and documentation.
Change-Id: I76ddf418bc1612a7310f80ee2ce596e8d6ab0721
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Frank Meerkoetter <frank.meerkoetter@basyskom.com>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Iebbd61359296499600fe164429e710273a94b86d
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|
|
|
|
|
| |
Change-Id: I3d915a6230a1f35317abc39d6266a9d46a5d9be6
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Reviewed-by: André Hartmann <aha_1980@gmx.de>
|
|
|
|
|
| |
Change-Id: I729e6b53cbc0b9a16c72c2351cc95d6bd7a2a0aa
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
src/plugins/canbus/socketcan/main.cpp
Change-Id: I17ac8fdbbbb4569f840bf2be1f25d571c2920451
|
| |
| |
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-51201
Change-Id: Ibb8aa4e95d642429aef702f62b96e54bd4ace2e1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
|
| |
| |
| |
| |
| | |
Change-Id: If5149893f81ef551f64c539d4b70c44f1181df37
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|/
|
|
|
|
|
|
| |
this fixes static builds by ensuring that all dependencies are exported.
Task-number: QTBUG-51071
Change-Id: I8bf84f36890b0c6bd3df0960112ecc12f11aa398
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|
|
|
|
|
| |
Change-Id: I9b73c9bdfe933a74302b4871aa40d5a025496b8c
Reviewed-by: Rolf Eike Beer <eb@emlix.com>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
Peakcan can support CanFD but it is not implemented yet.
Tinycan doesn't seem to support it.
Change-Id: I274421ccdad831daa18320a06bbc8b94a3fdd710
Reviewed-by: Rolf Eike Beer <eb@emlix.com>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Id816a10b0e2f1394b92d940d197f28b0c43905fd
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
most importantly, eliminate gui everywhere where it is not needed, and
don't redundantly list it where it is.
Change-Id: I8567e8473d976d9087a7da6d8f9f81b43148c8b2
Reviewed-by: Rolf Eike Beer <eb@emlix.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Ie457ce2e2ab5375e63f4b392f0eac0758d7d6601
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
| |
According to the latest native API, now we can handle
the QCanBusFrame::ErrorFrame.
Note: Not all modules support this function and the
feature should be activated.
Change-Id: I536fc7c43e96379a8cb40b3dc72fa9f0dfe33399
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
| |
We need to update the header, according to the latest API
version (v 401):
http://www.mhs-elektronik.de/index.php?module=download&action=list
Change-Id: I7a75d17d345e570819667865f260aa0938ed6fd0
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|
|
|
|
|
|
| |
Note: There are no this implementation for the SocketCan plugin yet.
Change-Id: I0b2ca92188f8784cebf046b033590c29c2ef3180
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We do not need to emit a signal when each frame is received,
this increases the load of the event loop. The input FIFO can
contains more than one frame, thus we only need to emit the
signal when all current frames were read.
In this case this signal is renamed to framesReceived instead
of frameReceived.
Change-Id: If97cfd4304dae9549748f87dbd0b54eae4c0a0f2
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
We need to extract the "Extended Frame Format" and the
"RemoteRequestFrame/DataFrame" properties from the received
TinyCan's native frame.
Change-Id: Ie03f1b5343e97666839e8816e83a2ecd96e822d5
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|
This commit implements the initial support for the CAN adapter
from the MHS Elektronik: http://www.mhs-elektronik.de/ .
The implementation has the following features:
* The adapter is configured for the one default speed 500KBaud
during opening.
* The configuring of parameters is not implemented yet.
* The error frame interpretation is not implemented yet.
* Supports the buffered mode for the outgoing frames, but we
still need the framesToWrite() method and the framesWritten()
signal.
Change-Id: I4d3e1861dcd4b92a56cb7b9e148ba261c3ee7cd7
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|