fingerprints.py 463 B

12345678910111213141516171819202122232425262728
  1. # ruff: noqa: E501
  2. from cereal import car
  3. from openpilot.selfdrive.car.body.values import CAR
  4. Ecu = car.CarParams.Ecu
  5. # debug ecu fw version is the git hash of the firmware
  6. FINGERPRINTS = {
  7. CAR.BODY: [{
  8. 513: 8, 516: 8, 514: 3, 515: 4
  9. }],
  10. }
  11. FW_VERSIONS = {
  12. CAR.BODY: {
  13. (Ecu.engine, 0x720, None): [
  14. b'0.0.01',
  15. b'0.3.00a',
  16. b'02/27/2022',
  17. ],
  18. (Ecu.debug, 0x721, None): [
  19. b'166bd860',
  20. b'dc780f85',
  21. ],
  22. },
  23. }