Re: Problem receiving > 8 byte UDS response when using istpsend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 21.11.22 17:45, Patrick Menschel wrote:
Am 21.11.22 um 17:11 schrieb Andre Naujoks:
Am 21.11.22 um 13:08 schrieb Marvin Ludersdorfer:

In another terminal, I run echo 22 F1 95 | isotpsend -s 00000680 -d 00000780 can0 -p 0x00

Typical error,

exchange -s and -d

isotprecv works the other way around.


:-D Yes. Trapped into this myself some times.

Btw. @Marvin are you really sure with the given values for the CAN IDs?

The help text says:

Usage: isotpsend [options] <CAN interface>
Options:
         -s <can_id>  (source can_id. Use 8 digits for extended IDs)
         -d <can_id>  (destination can_id. Use 8 digits for extended IDs)

So your IDs 00000680 and 00000780 are 29 bit CAN identifiers!

Is this intentionally?

Some people mix up the nominal values with the 11/29-bit IDs and think every CAN ID below 0x800 is a 11 bit CAN ID.

Regards,
Oliver



[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux