python-udsoncan icon indicating copy to clipboard operation
python-udsoncan copied to clipboard

Subfunction 0x42 and 0x55 for ReadDTCInformation should accept 0xFF for functional group

Open Krash-2504 opened this issue 6 months ago • 6 comments

The service ReadDTCInformation should accept 0xFF for the input for subfunction 0x42 and 0x55. Getting the error below currently.

EXCEPTION of type 'ValueError' occurred with message: Functional Group ID must be an integer between 0x0 and 0xFE

Krash-2504 avatar Jun 12 '25 12:06 Krash-2504

I am confused. ISO-14229 defines this. Image

But the values are defined by ISO-27145-3

Image

pylessard avatar Jun 14 '25 12:06 pylessard

Do you have an opinion? what's FF in your case?

pylessard avatar Jun 14 '25 12:06 pylessard

because of the ambiguity, I will enable 0xFF

pylessard avatar Jun 14 '25 12:06 pylessard

Implemented in fix-wwhobd-dtc. Want to try?

pylessard avatar Jun 14 '25 13:06 pylessard

Do you have an opinion? what's FF in your case?

According to the 2013 standard 0xFF denotes all the functional groups the same way 0xFF is for read snapshots

Krash-2504 avatar Jun 17 '25 05:06 Krash-2504

Oh wow, you're right. 2013 and 2020 sepcify different value ranges.

pylessard avatar Jun 17 '25 15:06 pylessard

Fixed in #278 Released in v1.25.1

pylessard avatar Sep 09 '25 02:09 pylessard