pull/31221/head
Shane Smiskol 2 years ago
parent bdc6ac8510
commit 8addbe1f0d
  1. 2
      selfdrive/car/gm/fingerprints.py
  2. 6
      selfdrive/car/gm/values.py

@ -58,7 +58,7 @@ FINGERPRINTS = {
}], }],
} }
FW_VERSIONS = { FW_VERSIONS: dict[str, dict[tuple, list[bytes]]] = {
CAR.BOLT_EUV: { CAR.BOLT_EUV: {
(Ecu.fwdCamera, 0x24b, None): [], (Ecu.fwdCamera, 0x24b, None): [],
} }

@ -145,10 +145,14 @@ class CanBus:
DROPPED = 192 DROPPED = 192
# In a Data Module an identifier is a string which is used to identify an object,
# either by itself or in conjunction with the identifiers of parent objects.
# The identifier string must be one continuous string and cannot contain spaces
# nor certain reserved characters or consist entirely of a reserved keyword.
GM_SOFTWARE_MODULE_1_REQUEST = b'\x1a\xc1' GM_SOFTWARE_MODULE_1_REQUEST = b'\x1a\xc1'
GM_SOFTWARE_MODULE_2_REQUEST = b'\x1a\xc2' GM_SOFTWARE_MODULE_2_REQUEST = b'\x1a\xc2'
GM_SOFTWARE_MODULE_3_REQUEST = b'\x1a\xc3' GM_SOFTWARE_MODULE_3_REQUEST = b'\x1a\xc3'
GM_END_MODEL_PART_NUMBER_REQUEST = b'\x1a\xcb' GM_END_MODEL_PART_NUMBER_REQUEST = b'\x1a\xcb' # end model part usually returns results online, base model not so much
GM_BASE_MODEL_PART_NUMBER_REQUEST = b'\x1a\xcc' GM_BASE_MODEL_PART_NUMBER_REQUEST = b'\x1a\xcc'
GM_FW_RESPONSE = b'\x5a' GM_FW_RESPONSE = b'\x5a'

Loading…
Cancel
Save