Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[Solved] QSerialPort and canbus



  • Hi. I have a problem with a particular protocol on canbus.
    The protocol document says:

    "Communication is standard asynchronous half-duplex serial communication (8N1) at 19200 baud.
    The bus start byte comprises a break signal (>=11 bits to the logical value ‘0’) followed by a
    synchronisation byte (0x55)."

    How can I send 11 bits to the logical value '0'?



  • @mrdebug

    Not sure what you intend with the post?

    Do you mean a word is missing and it should say: "(>=11 bits set to the logical value ‘0’)" ?



  • Solved by using
    SerialPort.setBreakEnabled(true);
    SerialPort.setBreakEnabled(false);


Log in to reply