Skip to content

ECU Identification

Function: ReadCompleteIdentification

(string ident, string value)[] ReadCompleteIdentification()

Description:
Reads the complete identification data from the ECU and returns it as an array of tuples, where each tuple contains an identifier (ident) and its corresponding value (value).

Parameters:
None

Return Value:
Returns an array of tuples. Each tuple contains:
- ident: The identifier for a specific piece of information.
- value: The corresponding value for the identifier.

Error codes list

Index ident
0 VIN
1 ECU Description
2 ECU Serial number
3 Software Part Number
4 Software Version
5 Hardware Part Number
6 Hardware Version
7 ODX Name
8 ODX Version
9 ZDC Name
10 ZDC Version
11 ECU VCRN (HEX)
Usage Example
1
2
3
4
5
if (!OpenEcu(0x19)) return;
var identificationData = ReadCompleteIdentification();
Pritn(identificationData); // Prints all indentification data
PrintLine($"VIN: {identificationData[0].value}, VCRN: {identificationData[11].value}");
CloseEcu();

Function: GetEcuSw

string GetEcuSw()

Description:
Retrieve the software identifier of the ECU (Electronic Control Unit).

Return Value:
Returns a string representing the ECU software identifier.

Usage Example
1
2
3
if (!OpenEcu(0x19)) return;
string softwareId = GetEcuSw();
PrintLine($"ECU Software ID: {softwareId}");

Function: GetEcuSwVersion

string GetEcuSwVersion()

Description:
Retrieve the software version of the ECU.

Return Value:
Returns a string representing the ECU software version.

Usage Example
1
2
3
if (!OpenEcu(0x19)) return;
string softwareVersion = GetEcuSwVersion();
PrintLine($"ECU Software Version: {softwareVersion}");

Function: GetEcuHw

string GetEcuHw()

Description:
Retrieve the hardware identifier of the ECU.

Return Value:
Returns a string representing the ECU hardware identifier.

Usage Example
1
2
3
if (!OpenEcu(0x19)) return;
string hardwareId = GetEcuHw();
PrintLine($"ECU Hardware ID: {hardwareId}");

Function: GetEcuHwVersion

string GetEcuHwVersion()

Description:
Retrieve the hardware version of the ECU.

Return Value:
Returns a string representing the ECU hardware version.

Usage Example
1
2
3
if (!OpenEcu(0x19)) return;
string hardwareVersion = GetEcuHwVersion();
PrintLine($"ECU Hardware Version: {hardwareVersion}");

Function: GetEcuDescription

string GetEcuDescription()

Description:
Retrieve a description for the ECU.

Return Value:
Returns a string containing the ECU description.

Usage Example
string description = GetEcuDescription();
PrintLine($"ECU Description: {description}");

Function: GetEcuOdxName

string GetEcuOdxName()

Description:
Retrieve the ODX container name of the ECU.

Return Value:
Returns a string representing the ECU ODX name.

Usage Example
1
2
3
if (!OpenEcu(0x19)) return;
string odxName = GetEcuOdxName();
PrintLine($"ECU ODX Name: {odxName}");

Function: GetEcuOdxVersion

string GetEcuOdxVersion()

Description:
Retrieve the ODX version of the ECU.

Return Value:
Returns a string representing the ECU ODX version.

Usage Example
1
2
3
if (!OpenEcu(0x19)) return;
string odxVersion = GetEcuOdxVersion();
PrintLine($"ECU ODX Version: {odxVersion}");

Function: GetEcuZdcName

string GetEcuZdcName()

Description:
Retrieve the ZDC name of the ECU.

Return Value:
Returns a string representing the ECU ZDC name.

Usage Example
1
2
3
if (!OpenEcu(0x19)) return;
string zdcName = GetEcuZdcName();
PrintLine($"ECU ZDC Name: {zdcName}");

Function: GetEcuZdcVersion

string GetEcuZdcVersion()

Description:
Retrieve the ZDC version of the ECU.

Return Value:
Returns a string representing the ECU ZDC version.

Usage Example
1
2
3
if (!OpenEcu(0x19)) return;
string zdcVersion = GetEcuZdcVersion();
PrintLine($"ECU ZDC Version: {zdcVersion}");

Function: GetEcuSerial

string GetEcuSerial()

Description:
Retrieve the serial number of the ECU.

Return Value:
Returns a string representing the ECU serial number.

Usage Example
1
2
3
if (!OpenEcu(0x01)) return;
string serialNumber = GetEcuSerial();
PrintLine($"ECU Serial Number: {serialNumber}");

Function: GetEcuVcrn

string GetEcuVcrn()

Description:
Retrieve the VCRN (Vehicle Component Registration Number) of the ECU.

Return Value:
Returns a string representing the ECU VCRN.

Usage Example
1
2
3
if (!OpenEcu(0x5F)) return;
string vcrn = GetEcuVcrn();
PrintLine($"ECU VCRN: {vcrn}");