caring_caribou:caring
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
caring_caribou:caring [2022/03/07 21:56] – [OBD-Scanning] geier99 | caring_caribou:caring [2022/11/28 21:31] (aktuell) – [Caring Caribou] geier99 | ||
---|---|---|---|
Zeile 6: | Zeile 6: | ||
* python3 | * python3 | ||
* python-can | * python-can | ||
+ | * sonstiges kann auch nicht schaden: | ||
+ | * python -m pip install --upgrade setuptools | ||
+ | * python -m pip install --upgrade python-can | ||
+ | * DoIP < | ||
+ | These can be installed through $ pip install doipclient udsoncan. If your system uses Python 2 as | ||
+ | default python interpreter, | ||
+ | $ pip3 install doipclient udsoncan | ||
+ | or | ||
+ | $ python3 -m pip install doipclient udsoncan | ||
+ | (and make sure to run Caring Caribou through python3) instead.</ | ||
===== Installation ===== | ===== Installation ===== | ||
Zeile 14: | Zeile 24: | ||
- Default Konfiguration für Python-CAN anlegen. < | - Default Konfiguration für Python-CAN anlegen. < | ||
[default] | [default] | ||
- | interface = socketcan_native | + | interface = socketcan_native |
channel = can0</ | channel = can0</ | ||
Zeile 39: | Zeile 49: | ||
< | < | ||
</ | </ | ||
- | VIN anfordern entweder über Service | + | danach kann man dan veruchen welche |
+ | - besser wäre hier aber die Broadcast 7DF bzw Motor-ECU 7E0 mit response ID 7E8</ | ||
+ | oder mit uds_fuzz | ||
+ | Eigenes Python Skript um alle Anfrage zu senden:< | ||
+ | # | ||
+ | |||
+ | import can | ||
+ | import time # wenn man zyklish was senen will | ||
+ | |||
+ | # scand PIDs ohne die Support Adressen | ||
+ | |||
+ | bus = can.interface.Bus(bustype=' | ||
+ | |||
+ | msg = can.Message(arbitration_id=0x7E0, | ||
+ | bus.send(msg) | ||
+ | |||
+ | for i in range(256): | ||
+ | if ( ((i%0x20)==0)): | ||
+ | print ( "ID: 0x%03X not send (supported IDs)" % (i)) | ||
+ | | ||
+ | |||
+ | msg.data[2]=i | ||
+ | bus.send(msg) | ||
+ | print(msg) | ||
+ | time.sleep(0.1) | ||
+ | |||
+ | print(" | ||
+ | </ | ||
+ | Dies Skript starten und schauen was candump: < | ||
+ | |||
+ | DCM ist veraltet, dafür gibt es jetzt die UDS-Module: | ||
+ | * UDS: | ||
+ | * < | ||
+ | => xxx | 02 10 01 00 00 00 00 00 ........</ | ||
+ | * < | ||
+ | * UDS_FUZZ | ||
+ | |||
+ | VIN anfordern entweder über Service 09 oder über UDS-Anfrage: | ||
+ | ==== Links ==== | ||
+ | Hmm, warum ist es jetzt hier auch: [[https:// |
caring_caribou/caring.1646690197.txt.gz · Zuletzt geändert: 2022/03/07 21:56 von geier99