8000 GitHub · Where software is built
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content < 8000 span data-view-component="true" class="progress-pjax-loader Progress position-fixed width-full">
CAN-FD frames aren't properly padded #92
Closed
@jbtheou

Description

@jbtheou

I noticed an issue where when the format is adjusted on the fly, the behavior is unexpected (stall data is still sent).

Looking at the candump, noticed that the userspace is sending non-valid DLC

  can1  00008001  [22]  01 00 0A 0D 20 CD CC 4C 3F 0D 29 00 00 C0 40 11 00 11 0B 19 81 02
  can1       100  [16]  21 00 0A 21 0B 01 29 81 02 0B 01 00 00 50 50 50
  can1  00008001  [19]  01 00 0A 0D 20 CD CC 4C BF 0D 29 00 00 C0 40 11 00 11 0B
  can1       100  [06]  21 00 0A 21 0B 01

Looking at the code, I am not seeing any auto-padding logic for the requests. Is it expected? Am I missing the logic somewhere?

Thanks a lot

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

      0