From 367b7c412b1923e450164c1e1d9ffc543410b8b7 Mon Sep 17 00:00:00 2001 From: Marianpol Date: Sun, 9 Aug 2020 10:04:02 +0200 Subject: [PATCH] Supported cars update --- README.md | 5 ++++- pyren/mod_ecu.py | 2 +- pyren/mod_scan_ecus.py | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9415905..68aa84f 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ This mode allows you: Getting started video https://www.youtube.com/watch?v=DazsvlnLCoA -## Supported cars with CLIP DB v193 +## Supported cars with CLIP DB v200 | id | ISO | CAN1 | CAN2 | Vehicle | Platform | PyRen | DocDB | |-----|-------|-------|-------|-----------------------|----------|-------|-------| @@ -120,8 +120,11 @@ https://www.youtube.com/watch?v=DazsvlnLCoA | 184 | ---- | 6-14 | ---- | ESPACE V ph2 | XFC | yes | yes | | 185 | ---- | 6-14 | ---- | TALISMAN ph2 | XFD | yes | yes | | 186 | ---- | 6-14 | ---- | NOUVELLE ZOE | X10 | yes | yes | +| 187 | ---- | 6-14 | ---- | ARKANA CN | XJH | yes | yes | | 188 | ---- | 6-14 | ---- | SAMSUNG XM3 | XJL | yes | yes | | 189 | ---- | 6-14 | 13-12 | CITY K-ZE | XBG | yes | yes | +| 190 | ---- | 6-14 | 13-12 | NEW KANGOO LS | XJK | yes | yes | +| 191 | ---- | 6-14 | ---- | NEW SANDERO/LOGAN | XJF | yes | yes | * Only Siemens Sirius 32N supported diff --git a/pyren/mod_ecu.py b/pyren/mod_ecu.py index 599e40b..7f2bbe8 100755 --- a/pyren/mod_ecu.py +++ b/pyren/mod_ecu.py @@ -928,7 +928,7 @@ class ECU: scrn.datarefs = [] tempDict = {} for st in self.States: - if not self.States[st].agcdRef.endswith('FF') and len(self.States[st].agcdRef) > 4: + if not self.States[st].agcdRef.endswith('FF') and self.States[st].agcdRef.startswith('ET'): tempDict[st] = self.States[st].codeMR sortedStates = sorted(tempDict.items(), key=lambda x:[int(t) if t.isdigit() else t.lower() for t in re.split('(\d+)', x[1])]) for st in sortedStates: diff --git a/pyren/mod_scan_ecus.py b/pyren/mod_scan_ecus.py index 12a51d6..21ea687 100644 --- a/pyren/mod_scan_ecus.py +++ b/pyren/mod_scan_ecus.py @@ -54,8 +54,8 @@ families = {"1":"13712", "2":"13002", "3":"13010", "4":"13713", "5":"13016", "63":"55050", "64":"62720", "65":"29705", "66":"29706", "67":"62721", "68":"62722", "69":"62723", "70":"57741", "72": "8992", "73":"61294", "74":"62724", "76":"11297", "77":"56580", "78":"61295", "79":"60146", "80":"51172", "81":"51173", - "86":"57713", "87":"60779", "88":"63847", "89":"63848", "90": "4672", "91":"51666", "92":"53725", "93":"55049", - "94":"56538", "95":"56539", "96":"56540", "97":"56562", "98":"57970", "99":"58003"} + "86":"57713", "87":"60779", "88":"63847", "89":"63848", "90": "4672", "91":"51666", "92":"53725", + "93":"55049", "94":"56538", "95":"56539", "96":"56540", "97":"56562", "98":"57970", "99":"58003"} class ScanEcus: '''List all possible ECUs of this car'''