openpilot icon indicating copy to clipboard operation
openpilot copied to clipboard

Hyundai: add software version query (for engine)

Open sshane opened this issue 3 years ago • 0 comments

On our Optima, it does not respond to the long or multi query, but does respond to 0x191 (hardware number) and 0x195 (software number, both return same value).

0xF195 SYSTEM_SUPPLIER_ECU_SOFTWARE_VERSION_NUMBER: b'TJFAJNU06F201H03'

On our Sonata, most of the ECUs respond to both the "long" and "multi" queries (with the engine relying on the multi query).

This is going to be part of a larger project, but I think we should remove multi if we can verify that the shorter long query is good (verified through notebook that if long FW is the same, there's no meaningful variation in the multi FW). Then we can replace multi with this new query to get the engine, so we don't have three requests for Hyundai, where the multi gets us different FW across the cars. Ideally long gets us all FW except the engine, and the new query gets us the engine

sshane avatar Aug 23 '22 03:08 sshane