HKG CAN FD: potentially get VIN without OBD port on some platforms (#31348)

* add cluster

* think this works

* update refs

not 1

* only add the new address

* bb

* comment
This commit is contained in:
Shane Smiskol 2024-02-07 02:23:16 -06:00 committed by GitHub
parent fabec99645
commit 8f5dcb3019
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,9 @@ LiveFwVersions = Dict[AddrType, Set[bytes]]
OfflineFwVersions = Dict[str, Dict[EcuAddrSubAddr, List[bytes]]]
# 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
# engine, hybrid controller, Ford abs, Hyundai CAN FD cluster, 29-bit engine, PGM-FI
# TODO: move these to each brand's FW query config
STANDARD_VIN_ADDRS = [0x7e0, 0x7e2, 0x760, 0x7c4, 0x18da10f1, 0x18da0ef1]
def p16(val):