Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GM camera ACC: get VIN from camera #31224

Merged
merged 11 commits into from Jan 30, 2024
Merged

GM camera ACC: get VIN from camera #31224

merged 11 commits into from Jan 30, 2024

Conversation

sshane
Copy link
Contributor

@sshane sshane commented Jan 30, 2024

Can potentially use this to fingerprint camera-ACC GMs. Note that we still rely on OBD port for ASCM-based cars to get the VIN, but can potentially get it from another ECU in the future


>>> get_vin(None, None, retry=1, buses=(0, 1))
# print(request, response, bus, vin_addrs, functional_addrs, rx_offset)
b'"\xf1\x90' b'b\xf1\x90' 0 [2016, 2018, 416944369, 416943857] [2015, 417018865] 8
b'\t\x02' b'I\x02\x01' 0 [2016, 2018, 416944369, 416943857] [2015, 417018865] 8
b'\x1a\x90' b'Z\x90' 0 [587] None 1024
b'"\xf1\x90' b'b\xf1\x90' 1 [2016, 2018, 416944369, 416943857] [2015, 417018865] 8
b'\t\x02' b'I\x02\x01' 1 [2016, 2018, 416944369, 416943857] [2015, 417018865] 8

@sshane sshane changed the title Chevy Bolt: get VIN from camera GM camera ACC: get VIN from camera Jan 30, 2024
@sshane sshane mentioned this pull request Jan 30, 2024
@sshane
Copy link
Contributor Author

sshane commented Jan 30, 2024

FW query time drops from 2.1s to 1.5s with #31221!

@sshane sshane merged commit c3fcf75 into master Jan 30, 2024
26 of 27 checks passed
@sshane sshane deleted the get-bolt-vin branch January 30, 2024 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant