Philippe Philippe

Receiving CAN messages in the Qt application

Discussion created by Philippe Philippe on Mar 17, 2012
Latest reply on Apr 6, 2012 by Meng Jin



Does anybody know how to receive CAN messages in the Qt Creator application ?

Let me explain: in the demo program, when you want to increase the AC level you press a button that will trigger a property "fanIncrease" (or similar name). When this happens you call a C++ function in the C++ header file that will enable the QT Creator program to write a linux command on the linux console. This will send a message on the CAN bus (cansend can0 .....)


Now my question is how do you do the reverse operation ? When you want to receive CAN messages from the bus and send them as an input to the QT Creat app, how do you do ?


Thank you