mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-04 13:02:09 +08:00
Toyota: add HVAC ECU (#28670)
add comment for 2nd abs, could be missing one from non_essential_ecu cars old-commit-hash: 1b3965a0c466a14ad8067d132601464ce747f3fa
This commit is contained in:
@@ -225,21 +225,21 @@ FW_QUERY_CONFIG = FwQueryConfig(
|
||||
[StdQueries.SHORT_TESTER_PRESENT_REQUEST, TOYOTA_VERSION_REQUEST_KWP],
|
||||
[StdQueries.SHORT_TESTER_PRESENT_RESPONSE, TOYOTA_VERSION_RESPONSE_KWP],
|
||||
whitelist_ecus=[Ecu.fwdCamera, Ecu.fwdRadar, Ecu.dsu, Ecu.abs, Ecu.eps, Ecu.epb, Ecu.telematics,
|
||||
Ecu.hybrid, Ecu.srs, Ecu.combinationMeter, Ecu.transmission, Ecu.gateway],
|
||||
Ecu.hybrid, Ecu.srs, Ecu.combinationMeter, Ecu.transmission, Ecu.gateway, Ecu.hvac],
|
||||
bus=0,
|
||||
),
|
||||
Request(
|
||||
[StdQueries.SHORT_TESTER_PRESENT_REQUEST, StdQueries.OBD_VERSION_REQUEST],
|
||||
[StdQueries.SHORT_TESTER_PRESENT_RESPONSE, StdQueries.OBD_VERSION_RESPONSE],
|
||||
whitelist_ecus=[Ecu.engine, Ecu.epb, Ecu.telematics, Ecu.hybrid, Ecu.srs, Ecu.combinationMeter, Ecu.transmission,
|
||||
Ecu.gateway],
|
||||
Ecu.gateway, Ecu.hvac],
|
||||
bus=0,
|
||||
),
|
||||
Request(
|
||||
[StdQueries.TESTER_PRESENT_REQUEST, StdQueries.DEFAULT_DIAGNOSTIC_REQUEST, StdQueries.EXTENDED_DIAGNOSTIC_REQUEST, StdQueries.UDS_VERSION_REQUEST],
|
||||
[StdQueries.TESTER_PRESENT_RESPONSE, StdQueries.DEFAULT_DIAGNOSTIC_RESPONSE, StdQueries.EXTENDED_DIAGNOSTIC_RESPONSE, StdQueries.UDS_VERSION_RESPONSE],
|
||||
whitelist_ecus=[Ecu.engine, Ecu.fwdRadar, Ecu.fwdCamera, Ecu.abs, Ecu.eps, Ecu.epb, Ecu.telematics,
|
||||
Ecu.hybrid, Ecu.srs, Ecu.combinationMeter, Ecu.transmission, Ecu.gateway],
|
||||
Ecu.hybrid, Ecu.srs, Ecu.combinationMeter, Ecu.transmission, Ecu.gateway, Ecu.hvac],
|
||||
bus=0,
|
||||
),
|
||||
],
|
||||
@@ -254,8 +254,8 @@ FW_QUERY_CONFIG = FwQueryConfig(
|
||||
# Responds to UDS:
|
||||
# - HV Battery (0x713, 0x747)
|
||||
# - Motor Generator (0x716, 0x724)
|
||||
# - 2nd ABS "Brake/EPB" (0x730)
|
||||
# Responds to KWP:
|
||||
# - Air Conditioner (0x7c4)
|
||||
# - Steering Angle Sensor (0x7b3)
|
||||
# - EPS/EMPS (0x7a0, 0x7a1)
|
||||
|
||||
@@ -273,6 +273,7 @@ FW_QUERY_CONFIG = FwQueryConfig(
|
||||
# A few platforms have a tester present response on this address, add to log
|
||||
(Ecu.transmission, 0x7e1, None),
|
||||
(Ecu.combinationMeter, 0x7c0, None),
|
||||
(Ecu.hvac, 0x7c4, None),
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user