From a80324528942e2df1a6f27df65583976c0b1bdbc Mon Sep 17 00:00:00 2001 From: Cameron Clough Date: Tue, 19 Jul 2022 01:29:16 +0100 Subject: [PATCH] Ford FPv2: send engine FW request to OBD port (#25202) * ford fw request on OBD port too * Ford: whitelist fw query for ecu type --- selfdrive/car/fw_versions.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/selfdrive/car/fw_versions.py b/selfdrive/car/fw_versions.py index 9db03390b2..ee2c0f31d4 100755 --- a/selfdrive/car/fw_versions.py +++ b/selfdrive/car/fw_versions.py @@ -213,11 +213,18 @@ REQUESTS: List[Request] = [ [CHRYSLER_VERSION_RESPONSE], ), # Ford + Request( + "ford", + [TESTER_PRESENT_REQUEST, FORD_VERSION_REQUEST], + [TESTER_PRESENT_RESPONSE, FORD_VERSION_RESPONSE], + whitelist_ecus=[Ecu.engine], + ), Request( "ford", [TESTER_PRESENT_REQUEST, FORD_VERSION_REQUEST], [TESTER_PRESENT_RESPONSE, FORD_VERSION_RESPONSE], bus=0, + whitelist_ecus=[Ecu.eps, Ecu.esp, Ecu.fwdRadar, Ecu.fwdCamera], ), ]