CaringCaribou / caringcaribou

A friendly car security exploration tool for the CAN bus
GNU General Public License v3.0
751 stars 197 forks source link

Implemented optionally extending CAN IDs within iso15765 #51

Closed bhass1 closed 5 years ago

bhass1 commented 5 years ago

Before this change, all CAN frames were sent in extended-ID mode, even if the ID was less than 0x7ff. This caused undesired behavior on vehicle and bench testing using PCAN-USB tools where the receiving module ignored extended-ID CAN frames.

After this change, the iso15765 implementation by default does not extend the CAN IDs unless they exceed 0x7ff. This can be overridden by an API parameter: "force_extended".

bhass1 commented 5 years ago

Rebased to master (not sure if this was necessary).