QCanBusFrame::NoError in Error Frame



  • Hi,
    I am implementing an error handler for the CAN bus frame and I don't quite understand how does an Error frame has no Error.

    May I know under what condition will the Error Frame has no error?

    Also, I noticed that the CAN bus example will freeze when it encounters an ErrorFrame. Is that an expected behavior?

    QT5.9


  • Qt Champions 2018

    @MrBrightSide8: Please tell us more about your setup: Which Operating System are you using, which CAN hardware (and therefore which QCanBus plugin).

    Are you generating this error frame or does it occur without cause?

    Also, I noticed that the CAN bus example will freeze when it encounters an ErrorFrame. Is that an expected behavior?

    Of course this is not expected. I remember playing with error frames some weeks ago and cannot confirm your observation. Can you put a breakpoint when this happens and show me the contents of the error frame in the debugger window? Thanks.


Log in to reply