Difference between revisions of "Extensions.Flash.GetChecksum"
Jump to navigation
Jump to search
m (Hb moved page GetChecksum to Extensions.Flash.GetChecksum: #3153) |
|
(No difference)
|
Revision as of 07:01, 15 February 2016
Contents
Classification
Name | GetChecksum |
Short Description | Return the checksum information of a block or a session |
Class | Term |
Extension | OTX Flash extension |
Group | Security related terms |
Exceptions | OutOfBoundsException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
StringTerm = Flash.GetChecksum(FlashSessionTerm, IntegerTerm);
Description
The GetChecksum term is the checksum information of a block or a session.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
String | The checksum information of a block or a session. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
FlashSession | FlashSession | Term | - | [1] | This element represents the FlashSession in which the block containing the segment resides. |
Block | Integer | Term | - | [0..1] | This element represents the number of the block whose signature shall be returned. |
Security | Integer | Term | - | [1] | This element defines the number of the security on which the term execution is based. |
OTL Examples
DiagCom.ComChannel ComChannel1;
List<String> List1;
Flash.FlashSession FlashSession1;
Integer Integer1;
String String1;
ComChannel1 = DiagCom.GetComChannel("DiagnosticsCan_ECU_1", null, false);
List1 = Flash.GetListOfValidFlashSessions(@Directions:DOWNLOAD, ComChannel1, @Audiences:SUPPLIER);
FlashSession1 = Flash.GetFlashSession(List1[0]);
String1 = Flash.GetChecksum(FlashSession1, 0, 0);