|
|
@ -215,14 +215,14 @@ STATIC_DSU_MSGS = [ |
|
|
|
(0x4CB, (CAR.PRIUS, CAR.RAV4H, CAR.LEXUS_RXH, CAR.LEXUS_NXH, CAR.LEXUS_NX, CAR.RAV4, CAR.COROLLA, CAR.HIGHLANDERH, CAR.HIGHLANDER, CAR.AVALON, CAR.SIENNA, CAR.LEXUS_CTH, CAR.LEXUS_ES, CAR.LEXUS_ESH, CAR.LEXUS_RX, CAR.PRIUS_V), 0, 100, b'\x0c\x00\x00\x00\x00\x00\x00\x00'), |
|
|
|
(0x4CB, (CAR.PRIUS, CAR.RAV4H, CAR.LEXUS_RXH, CAR.LEXUS_NXH, CAR.LEXUS_NX, CAR.RAV4, CAR.COROLLA, CAR.HIGHLANDERH, CAR.HIGHLANDER, CAR.AVALON, CAR.SIENNA, CAR.LEXUS_CTH, CAR.LEXUS_ES, CAR.LEXUS_ESH, CAR.LEXUS_RX, CAR.PRIUS_V), 0, 100, b'\x0c\x00\x00\x00\x00\x00\x00\x00'), |
|
|
|
] |
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
TOYOTA_VERSION_REQUEST = b'\x1a\x88\x01' |
|
|
|
TOYOTA_VERSION_REQUEST_KWP = b'\x1a\x88\x01' |
|
|
|
TOYOTA_VERSION_RESPONSE = b'\x5a\x88\x01' |
|
|
|
TOYOTA_VERSION_RESPONSE_KWP = b'\x5a\x88\x01' |
|
|
|
|
|
|
|
|
|
|
|
FW_QUERY_CONFIG = FwQueryConfig( |
|
|
|
FW_QUERY_CONFIG = FwQueryConfig( |
|
|
|
requests=[ |
|
|
|
requests=[ |
|
|
|
Request( |
|
|
|
Request( |
|
|
|
[StdQueries.SHORT_TESTER_PRESENT_REQUEST, TOYOTA_VERSION_REQUEST], |
|
|
|
[StdQueries.SHORT_TESTER_PRESENT_REQUEST, TOYOTA_VERSION_REQUEST_KWP], |
|
|
|
[StdQueries.SHORT_TESTER_PRESENT_RESPONSE, TOYOTA_VERSION_RESPONSE], |
|
|
|
[StdQueries.SHORT_TESTER_PRESENT_RESPONSE, TOYOTA_VERSION_RESPONSE_KWP], |
|
|
|
whitelist_ecus=[Ecu.fwdCamera, Ecu.fwdRadar, Ecu.dsu, Ecu.abs, Ecu.eps], |
|
|
|
whitelist_ecus=[Ecu.fwdCamera, Ecu.fwdRadar, Ecu.dsu, Ecu.abs, Ecu.eps], |
|
|
|
bus=0, |
|
|
|
bus=0, |
|
|
|
), |
|
|
|
), |
|
|
|