iso-tp icon indicating copy to clipboard operation
iso-tp copied to clipboard

FC Frame not send tx_id

Open cagsurgunu opened this issue 2 years ago • 1 comments

when i receive canbus messages, i can receive single frame mesages. But i want to receive cf messages, i couldn't get any message after fc. on debug mode, i saw library not send tx_id on fc , i addedd tx_id manually to IsoTp::send_fc in iso-tp.cpp of library. After that, i can receive cf messages.

cagsurgunu avatar Apr 03 '22 13:04 cagsurgunu

Hi,

the tx_id is set during setup in your code and the part of the message struct. send_fc uses msg->tx_id. If you set it in send_fc you can't change it dynamically in your code if you need to change the address but maybe I got you wrong. Could you send an example of what you did or maybe do a PR so I can see what you changed?

altelch avatar Jul 06 '24 09:07 altelch