Skip to content

Latest commit

 

History

History
115 lines (84 loc) · 2.47 KB

dcm.md

File metadata and controls

115 lines (84 loc) · 2.47 KB

DCM

Note: This module has been replaced by the UDS module. It is still supported by CaringCaribou due to legacy reasons.

$ caringcaribou dcm -h

-------------------
CARING CARIBOU v0.x
-------------------

Loaded module 'dcm'

usage: caringcaribou dcm [-h] {discovery,services,subfunc,dtc} ...

Diagnostics module for CaringCaribou

positional arguments:
  {discovery,services,subfunc,dtc}

optional arguments:
  -h, --help            show this help message and exit

Example usage:
  caringcaribou dcm discovery
  caringcaribou dcm services 0x733 0x633
  caringcaribou dcm subfunc 0x733 0x633 0x22 2 3
  caringcaribou dcm dtc 0x7df 0x7e8

Discovery

$ caringcaribou dcm discovery -h

-------------------
CARING CARIBOU v0.x
-------------------

Loaded module 'dcm'

usage: caringcaribou dcm discovery [-h] [-min MIN] [-max MAX] [-nostop]
                           [-blacklist B [B ...]] [-autoblacklist N]

optional arguments:
  -h, --help            show this help message and exit
  -min MIN
  -max MAX
  -nostop               scan until end of range
  -blacklist B [B ...]  arbitration IDs to ignore
  -autoblacklist N      scan for interfering signals for N seconds and
                        blacklist matching arbitration IDs

Services

$ caringcaribou dcm services -h

-------------------
CARING CARIBOU v0.x
-------------------

Loaded module 'dcm'

usage: caringcaribou dcm services [-h] src dst

positional arguments:
  src         arbitration ID to transmit from
  dst         arbitration ID to listen to

optional arguments:
  -h, --help  show this help message and exit

Subfunc

$ caringcaribou dcm subfunc -h

-------------------
CARING CARIBOU v0.x
-------------------

Loaded module 'dcm'

usage: caringcaribou dcm subfunc [-h] [-show] src dst service i [i ...]

positional arguments:
  src         arbitration ID to transmit from
  dst         arbitration ID to listen to
  service     service ID (e.g. 0x22 for Read DID)
  i           sub-function indices

optional arguments:
  -h, --help  show this help message and exit
  -show       show data in terminal

DTC

$ caringcaribou dcm dtc -h

-------------------
CARING CARIBOU v0.x
-------------------

Loaded module 'dcm'

usage: caringcaribou dcm dtc [-h] [-clear] src dst

positional arguments:
  src         arbitration ID to transmit from
  dst         arbitration ID to listen to

optional arguments:
  -h, --help  show this help message and exit
  -clear      Clear DTC / MIL