vehicle/ecus/ecu_reference

The vehicle/ecus/ecu_reference URI gets a list of descriptive items for an ECU.

URI path

vehicle/ecus/ecu_reference

Supported request methods

GET

Queries the system for the list of data elements describing a specific engine control unit (ECU) in the vehicle. The data record returned is a list of URIs corresponding to the “children” of vehicle/ecus/ecu reference in the web services data tree. ECU references include a J1939/CAN bus number and ECU address number as described in vehicle/ecus.

An example element describing an ECU is a serial number. The VIN is another element that should reside in at least one vehicle ECU.

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 within a block with a name corresponding to the named ECU. For example:

<can0ecu2>
         <element>vehicle/ecus/can0ecu2/make</element>
         <element>vehicle/ecus/can0ecu2/model</element>
         <element>vehicle/ecus/can0ecu2/serial_number</element>
         :
         <element>vehicle/ecus/can0ecu2/VIN</element>
</can0ecu2>

JSON

The result URI strings are collected in an array assigned to a field corresponding to the named ECU. For example:

{ “can0ecu2”  : [ “vehicle/ecus/can0ecu2/make”,
                  “vehicle/ecus/can0ecu2/model”,
                  “vehicle/ecus/can0ecu2/serial_number”,  ...
                  “vehicle/ecus/can0ecu2/VIN”  ] }

 

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