Skip to content

Commit

Permalink
HKG CAN FD: potentially get VIN without OBD port on some platforms (c…
Browse files Browse the repository at this point in the history
…ommaai#31348)

* add cluster

* think this works

* update refs

not 1

* only add the new address

* bb

* comment
  • Loading branch information
sshane authored Feb 7, 2024
1 parent fabec99 commit 8f5dcb3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion selfdrive/car/fw_query_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
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):
Expand Down

0 comments on commit 8f5dcb3

Please sign in to comment.