Extensions.DiagCom.SetPdu
Revision as of 09:49, 15 July 2014 by Nb (talk | contribs) (Created page with "Category:DiagCom == Classification == {{ClassificationActivity | SetPdu | Set the PDU within a request | Action | OTX DiagCom extension | ComParameter re...")
Classification
Name | SetPdu |
Short Description | Set the PDU within a request |
Class | Action |
Extension | OTX DiagCom extension |
Group | ComParameter related actions |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
Pseudo-Code Syntax
SetPdu(Request req, ByteField pdu);
Description
With the SetPdu activity a request can be passed directly without further processing a byte stream. 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 |
Request | Request | Term | - | [1] | Request object. |
Pdu | ByteField | Term | - | [1] | PDU (z.B.: "18 00 FF FF"). |
Examples
ComChannel myComCannel = GetComChannel("LL_AllEmissRelatUDSSyste", "", false);
Request req = GetRequest(CreateDiagServiceByName(myComCannel,"DiagnServi_ReadDataByIdentActuaTestStatu"));
SetPdu(req, $18 00 FF FF);