razem-io / openpilot

openpilot is an open source driver assistance system. openpilot performs the functions of Automated Lane Centering and Adaptive Cruise Control for over 85 supported car makes and models.
https://comma.ai/
MIT License
0 stars 0 forks source link

add fw versions for 2018 Nissan Leaf JP #1

Closed robin-reckmann closed 3 years ago

robin-reckmann commented 3 years ago

I added the FW versions of my Nissan Leaf 2018 (japanese) from the useradmin car params.

Just to confirm: We replace \0 -> \x , \a -> \x07 etc. , right?

BTW, are you sure about 0x797 being the engine? From what I read it seems to be the VCM (from which we should also query the VIN at some point).

razem-io commented 3 years ago

Hi @robin-reckmann, not sure yet. We just received a list from a dealership and are trying to match all the things we are currently parsing.

Where have you found the info that it is the VCM? Maybe your source could help us further to decode the results.

Regarding the replacing, I just paste it in the interactive python shell. Another solution would be this: https://codebeautify.org/string-builder

I will merge this for now. If we change the firmware parts later, we need another scan.