Warning
This documentation is actively being updated as the project evolves and may not be complete in all areas.
UDS over CAN Driver¶
jumpstarter-driver-uds-can provides UDS (Unified Diagnostic Services, ISO-14229)
operations over CAN/ISO-TP (ISO-15765) transport for Jumpstarter. This enables
remote automotive ECU diagnostics over CAN bus.
For UDS over DoIP (automotive Ethernet), see jumpstarter-driver-uds-doip.
For raw CAN and ISO-TP operations, see jumpstarter-driver-can.
Installation¶
pip3 install --extra-index-url https://pkg.jumpstarter.dev/simple/ jumpstarter-driver-uds-can
Configuration¶
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
str |
required |
CAN channel (e.g. |
|
str |
|
python-can interface type |
|
int |
required |
ISO-TP receive arbitration ID |
|
int |
required |
ISO-TP transmit arbitration ID |
|
float |
5.0 |
UDS request timeout in seconds |
|
IsoTpParams |
|
ISO-TP parameters (stmin, blocksize, etc.) |
ISO-TP Parameters¶
Parameter |
Type |
Default |
Description |
|---|---|---|---|
|
int |
0 |
Minimum separation time (ms) |
|
int |
8 |
Number of consecutive frames |
|
int |
8 |
CAN frame data length |
|
int |
4095 |
Maximum ISO-TP frame size |
|
bool |
false |
Use CAN FD |
|
bool |
false |
Use blocking send |
Example exporter configuration¶
export:
uds:
type: jumpstarter_driver_uds_can.driver.UdsCan
config:
channel: "can0"
interface: "socketcan"
rxid: 1601 # 0x641
txid: 1602 # 0x642
request_timeout: 5
isotp_params:
stmin: 32
blocksize: 8
tx_data_length: 8
Client API¶
The client API is shared by all UDS transport drivers via jumpstarter-driver-uds.
See the UDS driver documentation for the full API reference.
Method |
Description |
|---|---|
|
Change diagnostic session |
|
Reset ECU |
|
Keep session alive |
|
Read DID values |
|
Write DID value |
|
Request security access seed |
|
Send security access key |
|
Clear diagnostic trouble codes |
|
Read DTCs matching status mask |