From 55cc3989d8958b48f34eb55f2a6f564fb4e2af86 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Mon, 5 Feb 2024 23:48:57 -0600 Subject: [PATCH] Ford: add ABS address to get VIN without OBD port (#31308) * consider ford abs * cmts * fix * who * Revert "who" This reverts commit eef45b147fab715a9f35b9712e8b9d7ebb1b2fdf. * this doesn't work correctly * add cmt * fix * Revert "fix" This reverts commit 60dfe09c426e74293711df9e2f3b2f75cf3a1da9. --- selfdrive/car/fw_query_definitions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/selfdrive/car/fw_query_definitions.py b/selfdrive/car/fw_query_definitions.py index 8ff0bd47c4..1d6104574e 100755 --- a/selfdrive/car/fw_query_definitions.py +++ b/selfdrive/car/fw_query_definitions.py @@ -14,7 +14,8 @@ EcuAddrSubAddr = Tuple[int, int, Optional[int]] LiveFwVersions = Dict[AddrType, Set[bytes]] OfflineFwVersions = Dict[str, Dict[EcuAddrSubAddr, List[bytes]]] -STANDARD_VIN_ADDRS = [0x7e0, 0x7e2, 0x18da10f1, 0x18da0ef1] # engine, VMCU, 29-bit engine, PGM-FI +# A global list of addresses we will only ever consider for VIN responses +STANDARD_VIN_ADDRS = [0x7e0, 0x7e2, 0x760, 0x18da10f1, 0x18da0ef1] # engine, hybrid controller, Ford abs, 29-bit engine, PGM-FI def p16(val):