Difference between revisions of "Extensions.DiagCom.GetPdu"
Jump to navigation
Jump to search
(Created page with "Category:DiagCom == Classification == {{ClassificationActivity | GetPdu | Byte stream of a request or a response | Term | OTX DiagCom extension | Request...") |
|||
Line 10: | Line 10: | ||
== Description == | == Description == | ||
The '''GetPdu''' term returns the byte stream of a request or a response. 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. | The '''GetPdu''' term returns the byte stream of a request or a response. 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. | ||
+ | |||
+ | {{TermReturnValue| [[ByteField]] | Request of diagnostic services.}} | ||
== Properties == | == Properties == | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{TableRowPropertie1 | + | {{TableRowPropertie1| Message | [[Message]] | [[Term]] | - | [1] | [[Request]] or [[Response]].}} |
− | |||
|} | |} | ||
Revision as of 03:58, 17 July 2014
Contents
Classification
Name | GetPdu |
Short Description | Byte stream of a request or a response |
Class | Term |
Extension | OTX DiagCom extension |
Group | Request related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
Pseudo-Code Syntax
GetPdu(Message message, ByteField result);
Description
The GetPdu term returns the byte stream of a request or a response. 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.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
ByteField | Request of diagnostic services. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Message | Message | Term | - | [1] | Request or Response. |
Examples
ByteField pdu = GetPdu(message);