Toyota: parse FW versions for more reliable fuzzy fingerprinting (#28641)
* add test from hyundai * found tss2 * abs and engine are very rarely shared (avalonh tss2 and camryh tss2 is one example) * some bad regex * some pattern work * some work * . * some conceptual clean up * fix short fw pattern * hyundai test * clean up values.py a bit * print platform codes * hyundai fuzzy * pass test * move around constants * clean up * clean up hyundai * fix print * more clean up, fix med pattern * add documentation * use major version * some clean up from merge * some clean up from merge 2 * spot check * clean up imports * missing FW_QUERY_CONFIG * short version: always prefixed with 3, get real platform code * limit to max chunks seen (3) * rm engine * fix that * get_platform_codes returns dict * tests * comments * fix test * enable a test * fix script * print ecu parts * enable old test * clean up some tests * clean up * more clean up * static * this is all it took? * add note * ... * use less ECUs * bump * todo * clean up fuzzy fp function * make deterministic in a feat of engineering * add temp exclude_fw argument for testing * fix logic * add blacklist * add platform and its matches * fix for nb * remove fw exclusion * Revert "remove fw exclusion" This reverts commitpull/30207/head0e3b47c5a3
. * clean up * Revert "Revert "remove fw exclusion"" This reverts commit42c55f006a
. * these two have similar chassis according to wikipedia (but mass is relatively different) * Revert "Revert "Revert "remove fw exclusion""" This reverts commit0f87423342
. * Revert "Revert "Revert "Revert "remove fw exclusion"""" This reverts commit2411967f5a
. * oof * shadows global variable * rm comment
parent
1a74ed91ee
commit
c14b765623
3 changed files with 62 additions and 2 deletions
Loading…
Reference in new issue