Commit Graph

15 Commits

Author SHA1 Message Date
Shane Smiskol
7ed064f7ba VIN: make Ford exception more explicit (#25972)
* Update vin.py

* only replace from end
2022-10-04 20:38:39 -07:00
Shane Smiskol
de67a28f1b Ford: handle VIN (#25966)
fix ford vin
2022-10-04 19:21:23 -07:00
Shane Smiskol
68cc53a085 VIN query: switch to functional address (#25933)
* stash

* go in defined order

* \n feels cleaner
2022-09-30 20:29:54 -07:00
Shane Smiskol
4d7f4b4c9d IsoTpParallelQuery: don't return rx_addr (#25934)
* revert isotpparallelquery returning rx addr for functional special case

* we don't really use the tx addr (and soon won't make sense with fun querying)
2022-09-30 16:01:22 -07:00
Shane Smiskol
0ec8546042 vin and ecu_addrs: add more argparse options (#25913)
* add bus options

* use debug

* add timeout and try

* fix

* don't need keywords

* log this too

* fix
2022-09-28 14:01:17 -07:00
Shane Smiskol
ba1c3cda41 Log more FW/VIN errors in qlogs (#25901)
* log VIN query errors

* Update fw_versions.py

* use exception

* post-commit
2022-09-27 20:17:42 -07:00
Shane Smiskol
0ef6bb48df FPv2: move car-specific configuration into interfaces (#25711)
* Add VMCU address for EV6

* Rename vmcu

* add to tests

add to tests

* rename to more generic name

* more explicit

* remove print

* Like this much better, removes subtle fingerprinting problems

* clean up

* add test and clean up

* remove hyundai stuffs

* global

* Fpv2Config class

* fix missing fw versions from import order

* unused

* revert for now

* test for fpv2 configs with subtests

* subtests don't work that way

* do toyota as an example

* revert

revert

* do chrysler

* do rest

* stash

* much smaller of a diff than the alternative

* remove unused test

* fix tests

* remove brand from Request

* Make StandardQueries class

* add missing_ecus

clean up

* rename file

* unused

* test implemented

* add comment and rename

add comment and rename

add comment and rename

* should be impossible now

* this is a fixme

* rename to fw_query

* rename this too

* and this

* move vin queries to class

* order

* can use p16!

* formatting

* whoops, this wasn't gated on not len(found_versions)

* make this clear

* Standardize manufacturer software version query
2022-09-09 16:24:29 -07:00
Shane Smiskol
0697ca2239 VIN: query physical addresses (#25122)
* Try engine and VMCU addrs for VIN

* Add address for Honda

* Update selfdrive/car/vin.py

* Update selfdrive/car/vin.py

* Update selfdrive/car/vin.py
2022-08-29 22:51:50 -07:00
Adeeb Shihadeh
6b74be53ae check vin validity (#25199) 2022-07-25 13:31:39 -07:00
Shane Smiskol
3a8f17111c Log VIN response address (#25148)
* log vin rx addr

* clean up
2022-07-13 01:10:56 -07:00
Shane Smiskol
4c493237d5 Interleave VIN queries (#25090)
Interleave the two requests
2022-07-08 19:36:09 -07:00
Adeeb Shihadeh
0fce5d9045 Move a bunch of stuff to system/ part 3 (#24829)
* move swaglog.py

* timezoned

* logmessaged

* version.py

* fix linter
2022-06-11 23:19:27 -07:00
Willem Melching
dc2172b55e correctly parse UDS VIN response for Honda Bosch (#24710) 2022-06-02 12:20:56 +02:00
Adeeb Shihadeh
7d2ba9b0a4 Add UDS VIN query (#24311)
* Switch to UDS VIN query

* try both

* fall back to obd
2022-06-01 13:29:22 -07:00
George Hotz
71ead9adea selfdrive/car 2020-01-17 10:58:43 -08:00