* add function signature and behavior comment
* add test
* move chassis codes to platform config!
* add a shared chassis code test
* function
* test matching
* this commit isn't complete yet
* Revert "this commit isn't complete yet"
This reverts commit ae77d5cd54.
* need to check WMI
* TODO: test WMI
* test wmi
* radar FW sanity check
* fix test
* fixes from merge
fixes from merge
* whoops
* fix static analysis!
* do match_fw_to_car
match_fw_to_car takes vin
* makes sense to keep it one function, and we can return exact or fuzzy!
* clean up
* kinda pointless
* fix more tests
* back to function being only fuzzy
* revert test_fw_fingerprint
* revert test_fw_fingerprint
* simplify
* clean up/fixes
* rename test
* less duplicatey WMI descriptions
* fix
* convert to enum
* I am confident about these WMIs
* these are also good
* we support 5N AUS/NZ and NAR (North American) AX Tiguans
fixes
* Tiguan also Mexico
* only one user for caddy
* got from the test route
* check that the gateway type matches the platform (each platform has 1 or 2 types)
* ~gateway~ -> exact FW match
* remove re
* ensure WMIs are set
* actually no reason to delete
* move comment up to the platform config
* proper wmis typing
* spacing
* flip
old-commit-hash: 6acf763db4
* Revert "FPv2: fingerprint on all FW combinations (#25204)"
This reverts commit c7e0622fa5bbf3ed8b000c86666f54f2b0a8c63d.
* Revert "Revert "FPv2: fingerprint on all FW combinations (#25204)""
This reverts commit bb68b7bc1c.
* For breaking, match only with current brand's FW
* Add comment for fuzzy matching
* fingerprint (online) only using FW from that brand
* test_fw_query_on_routes fingerprints like online
* extend match_fw_to_car to work for test_fw_query_on_routes
* Apply suggestions from code review
old-commit-hash: 45cfcfa3bb
* should be all that's required
* try using rx_addr (should be the same)
* log bus
* bump cereal
* remove debugging
* bump cereal to master
* rm line
* add printing to offline debug script
old-commit-hash: 937013e488
* Try to fingerprint on all possible combinations
* build_fw_dict creates set dict, tries each fw version for addr, subaddr
* clean up
* static analysis
* comment
* fix comment
* revert changes to test_fw_query_on_routes
* remove comment
old-commit-hash: ee081f278b
* get_fw_versions returns all fw versions with request's brand
* keep track of everything received
* debug
* need to regen or write a hack in build_fw_dict
* to be safe, still replace old responses within same brands (hyundai responds to two queries, can fix later)
to be safe, still replace old responses within same brands (hyundai responds to two queries, can fix later)
* update test_fw_query_on_routes
* clean up
* better name
* slightly cleaner
* fix test_startup unit test
del
* fix imports
* fix test_fw_fingerprint
fix test_fw_fingerprint
fix
* fingerprint on all FW_VERSIONS, not just brands with requests
* support old routes in test_fw_query_on_routes
* regen and update refs
* similar function style to before
* better comment
* space
switch name
* try to exact match first
* useless else
* fix debug script
* simpler dictionary
* bump cereal to master
old-commit-hash: ea241bf3dc
* Fuzzy match on 3+ ECUs
* reuse dict
* exclude some shared ecus to be sure
* show alert for fuzzy match
* use title case
* require community toggle
* refactor
* do both exact and fuzzy in test script
* update test script
* add fuzz test and lower matches to >= 2
* strip alert length
* sort mismatches
* add fw tests to test_startup
* bump cereal
old-commit-hash: e4f73fbda5
* add script to process logs
* Skip rav4 ESP
* Improve gathering script
* Update firmware versions for honda and toyota
* more firmware versions
* If FW query returns 1 candidate, use it
* Add FW versions
* Fix COROLLA_TSS2 two enigine addresses
* uncomment rav4h tss2
* add progress bar to test script
* Batch with more ecu versions
old-commit-hash: 356f353489