This repository has been archived by the owner on Jun 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
/
ecu_config.json
50 lines (50 loc) · 1.96 KB
/
ecu_config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"vin": {
"value": "TESTVIN0123456789",
"description": "Vehicle Identification Number. Max 17 characters"
},
"ecu_name": {
"value": "ECU_SIMULATOR",
"description": "Name of the ECU. Max 20 characters"
},
"fuel_level": {
"value": 50,
"description": "Fuel Level. Between 0 and 100"
},
"fuel_type": {
"value": 1,
"description": "Fuel type (e.g., 1=Gasoline). See https://en.wikipedia.org/wiki/OBD-II_PIDs#Fuel_Type_Coding"
},
"dtcs": {
"value": ["B1477", "P0001"],
"description": "List of Diagnostic Trouble Codes. The list can contain Max 255 DTCs"
},
"obd_broadcast_address": {
"value": "0x7DF",
"description": "11-Bit broadcast address the ECU uses to receive OBD requests (functional addressing). The target address is: obd_ecu_address + 0x8"
},
"obd_ecu_address": {
"value": "0x7E0",
"description": "11-Bit physical address the ECU uses to response to an OBD request. The target address is: obd_ecu_address + 0x8"
},
"uds_ecu_address": {
"value": "0x7E1",
"description": "11-Bit physical address the ECU uses to receive and response to an UDS request (physical addressing). The target address is: uds_ecu_address + 0x8. The UDS module does not use functional addressing"
},
"can_interface": {
"value": "vcan0",
"description": "CAN Interface used by the ECU simulator"
},
"can_interface_type": {
"value": "virtual",
"description": "Two types are possible: virtual and hardware. If any other value is provided, the ecu-simulator does not set up the CAN interface and ISO-TP linux kernel module"
},
"can_bitrate": {
"value": "500000",
"description": "CAN bitrate (refer to the specification of your CAN hardware). Only applicable for can_interface_type: hardware"
},
"isotp_ko_file_path": {
"value": "/usr/lib/modules/5.3.0-kali2-amd64/kernel/net/can/can-isotp.ko",
"description": "File path of the ISO-TP Kernel module (see https://github.com/hartkopp/can-isotp)"
}
}