vehicle/dtc/can1_inactive

The vehicle/dtc/can1_inactive URI gets a list of ECUs on the second J1939/CAN bus for inactive DTCs.

URI path

vehicle/dtc/can1_inactive

Supported request methods

GET

Queries the system for the list of ECUs that the system knows exist on the secondary J1939/CAN bus, since they might be providing inactive DTC messages (J1939 PGN 65227). The record returned is a list of URIs corresponding to each ECU on a bus.

Note Each time the vehicle data subsystem restarts, it exposes a fixed list of ECUs. Once the subsystem begins running, it samples the bus for 60 seconds to determine whether the list of ECUs it has recorded matches the current running vehicle. If not, the subsystem automatically stores an updated list and restarts the subsystem to use the new fixed list.

Supported content types

HTML

The result URIs are turned into URLs relative to the device, and returned in an HTML list.

XML

The result URIs are each wrapped in element tags, and returned in a can1_inactive block. For example:

<can1_inactive>
         <element>vehicle/dtc/can1_inactive/ecu0</element>
         <element>vehicle/dtc/can1_inactive/ecu3</element>
</can1_inactive>

JSON

The result URI strings are collected in an array assigned to a can0_inactive field. For example:

{ “can1_inactive” : [ “vehicle/dtc/can1_inactive/ecu0”
                      “vehicle/dtc/can1_inactive/ecu3”  ] }

 

© 2019 Digi International Inc. All rights reserved.
vehicle/dtc/can1_inactive updated on 17 Oct 2017 02:36 PM