Difference between revisions of "Extensions.DiagCom.ExecuteHexDiagService"
Jump to navigation
Jump to search
(Created page with "Category:DiagCom == Classification == {{ClassificationActivity | ExecuteHexDiagService | Direct send a diagnostic services as a byte stream. | Action | DiagCom|OTX D...") |
|||
Line 22: | Line 22: | ||
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
ComChannel myComCannel = GetComChannel("LL_AirbaUDS", "", false); | ComChannel myComCannel = GetComChannel("LL_AirbaUDS", "", false); | ||
− | ExecuteHexDiagService(myComCannel, &18 00 FF FF); | + | ExecuteHexDiagService(myComCannel, &18 00 FF FF, hexResponseVariable); |
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 03:43, 15 July 2014
Classification
Name | ExecuteHexDiagService |
Short Description | Direct send a diagnostic services as a byte stream. |
Class | Action |
Extension | OTX DiagCom extension |
Group | DiagService related actions |
Exceptions | LossOfComException |
Checker Rules | - |
Standard Compliant | Yes |
Pseudo-Code Syntax
ExecuteHexDiagService(ComChannel myComChannel, ByteField hexRequest, ByteField hexResponse);
Description
With the ExecuteHexDiagSevice activity a byte stream can be sent directly and without further processing to the control unit. The byte stream is referred to as PDU (Protocol Data Unit). The PDU contains the entire block starting with the service identifier (SID), but without header and checksum.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
ComChannel | ComChannel | Term | - | [1] | Communication Channel (Control unit). |
HexRequest | ByteField | Term | - | [1] | Request PDU (z.B.: "18 00 FF FF"). |
HexResponse | ByteField | Variable | - | [0..1] | Request PDU (zB "FF 58 01 01 08"). |
Examples
ComChannel myComCannel = GetComChannel("LL_AirbaUDS", "", false);
ExecuteHexDiagService(myComCannel, &18 00 FF FF, hexResponseVariable);