Details
-
Bug
-
Status: Open
-
P3: Somewhat important
-
Resolution: Unresolved
-
5.15.0
-
None
-
None
Description
Using the socketcan plugin, setting CAN bus bitrate like
canDevice->setConfigurationParameter(QCanBusDevice::BitRateKey, 1000000);
returns message
qt.canbus.plugins.socketcan: Cannot apply parameter: 4 with value: 1000000
Libsocketcan is installed, application has root rights.
Can be reproduced using the can example in module serialbus: [CAN Bus example | Qt Serial Bus 5.15.2|https://doc.qt.io/qt-5/qtserialbus-can-example.html]
- start the application with root rights
- in the connector:
- select plugin socketcan
- specify can interface can0
- click "ok" to connect
See also: Qt Forum thread