Skip to content
This repository was archived by the owner on Sep 12, 2020. It is now read-only.
This repository was archived by the owner on Sep 12, 2020. It is now read-only.

What is the proper error response to send during an ISO-TP timeout? #1

@brandonros

Description

@brandonros

The question isn't specific to your code base, but I can tell by the high quality of your code and thorough understanding of all of the protocols at play, you probably stand a good chance of helping.

return Err(Error::Timeout);

I have my own version of an ISO-TP/CAN/UDS server in node.js

Sometimes, the device I'm interfacing with fails to properly complete an ISO-TP request. Whether it is taking too long for flow control frame or the consecutive frames themselves not coming across quickly enough, I'm not sure if me acting as the ECU is supposed to send:

a) no response

or b) a 0x7F failure (with what error response code? I can't find one that I would expect to exist for "general failure/please retry")

Are CAN interfaces not supposed to be so generally unreliable? Do I maybe have a bigger problem with my drivers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions