vehicle/dtc/can1_active

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

URI path

vehicle/dtc/can1_active

Supported request methods

GET

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

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 it does not match, the subsystem automatically stores an updated list and restarts the subsystem to use the new, fixed list.

Supported content types

HTML

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

XML

The result URIs will each be wrapped in element tags, and returned within a can1_active block. For example:

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

JSON

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

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

 

© 2019 Digi International Inc. All rights reserved.
vehicle/dtc/can1_active updated on 18 Oct 2017 09:22 AM