vehicle/dtc/can1_inactive/ecu_reference

The vehicle/dtc/can1_inactive/ecu_reference URI gets the latest inactive DTC from an ECU on the second J1939/CAN bus.

URI path

vehicle/dtc/can1_inactive/ecu_reference

Supported request methods

GET

Queries the system for the most recent inactive trouble code report from the referenced ECU on the secondary J1939/CAN bus, if any (J1939 PGN 65227).

Note PGN 65227 messages are polled no more frequently than once every ten seconds.
HTML status code 503 (Service Unavailable) indicates that the referenced ECU is expected to be valid, but no PGN 65227 message has yet been received. HTML status code 404 (Not Found) generally indicates that the system is not listening for trouble codes on the referenced ECU.

Supported content types

XML

The result, if any, is returned in a data content block, including a timestamp and a value. The value is a hexadecimal string representing the binary payload of the PGN 65227 message. The data block name matches the ECU reference. For example:

<ecu0>
          <timestamp>2012-12-09T05:15:32Z</timestamp>
          <value>00ff00000000ffff</value>
</ecu0>

JSON

The result, if any, is returned as an object with timestamp and value fields, with the value as a hexadecimal string representing the binary payload of the PGN 65227 message. The name of the object matches the ECU reference. For example:

{ “ecu0” : { “timestamp” :  “2012-12-09T05:15:32Z”,
             “value” : “00ff00000000ffff” } }

 

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