mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-22 14:32:07 +08:00
Mazda: query and log FW on bus 0 (#28569)
* mazda: query FW on bus 0 * update refs
This commit is contained in:
@@ -70,6 +70,13 @@ FW_QUERY_CONFIG = FwQueryConfig(
|
||||
[StdQueries.MANUFACTURER_SOFTWARE_VERSION_REQUEST],
|
||||
[StdQueries.MANUFACTURER_SOFTWARE_VERSION_RESPONSE],
|
||||
),
|
||||
# Log responses on powertrain bus
|
||||
Request(
|
||||
[StdQueries.MANUFACTURER_SOFTWARE_VERSION_REQUEST],
|
||||
[StdQueries.MANUFACTURER_SOFTWARE_VERSION_RESPONSE],
|
||||
bus=0,
|
||||
logging=True,
|
||||
),
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
@@ -220,7 +220,7 @@ class TestFwFingerprintTiming(unittest.TestCase):
|
||||
print(f'get_vin, query time={vin_time / self.N} seconds')
|
||||
|
||||
def test_fw_query_timing(self):
|
||||
total_ref_time = 6.1
|
||||
total_ref_time = 6.2
|
||||
brand_ref_times = {
|
||||
1: {
|
||||
'body': 0.1,
|
||||
@@ -228,7 +228,7 @@ class TestFwFingerprintTiming(unittest.TestCase):
|
||||
'ford': 0.2,
|
||||
'honda': 0.5,
|
||||
'hyundai': 0.7,
|
||||
'mazda': 0.1,
|
||||
'mazda': 0.2,
|
||||
'nissan': 0.9,
|
||||
'subaru': 0.1,
|
||||
'tesla': 0.2,
|
||||
|
||||
Reference in New Issue
Block a user