the isotp-decoder uses struct.unpack to decode binary data into python variables. It needs to know exactly how much data it will get from the car.
This patch adds autodetection and -adjustment of the expected length. Detected difference is logged and can be set permanently by adding the appropriate padding to the structure definition.
the isotp-decoder uses struct.unpack to decode binary data into python variables. It needs to know exactly how much data it will get from the car. This patch adds autodetection and -adjustment of the expected length. Detected difference is logged and can be set permanently by adding the appropriate padding to the structure definition.