Difference between revisions of "Extensions.DiagCom"
Jump to navigation
Jump to search
Line 38: | Line 38: | ||
== Terms == | == Terms == | ||
− | {| | + | {| {{TableHeader}} |
− | + | {{TableRowCatagory|ComChannel related terms}} | |
− | | ComChannel related terms | + | {{TableRowKeyValueList|[[GetComChannel]]|}} |
− | + | {{TableRowKeyValueList|[[GetComChannelIdentifierFromResponse]]|}} | |
− | |[[GetComChannel]] | | + | {{TableRowKeyValueList|[[GetComChannelEcuVariantName]]|}} |
− | + | {{TableRowKeyValueList|[[IsVariant]]|}} | |
− | |[[GetComChannelIdentifierFromResponse]] | | ||
− | |||
− | |[[GetComChannelEcuVariantName]] | | ||
− | |||
− | |[[IsVariant]] | | ||
− | + | {{TableRowCatagory|DiagService related terms}} | |
− | | DiagService related terms | + | {{TableRowKeyValueList|[[CreateDiagServiceByName]]|}} |
− | + | {{TableRowKeyValueList|[[CreateDiagServiceBySemantic]]|}} | |
− | |[[CreateDiagServiceByName]] | | + | {{TableRowKeyValueList|[[GetDiagServiceListBySemantic]]|}} |
− | + | {{TableRowKeyValueList|[[GetDiagServiceFromResult]]|}} | |
− | |[[CreateDiagServiceBySemantic]] | | + | {{TableRowKeyValueList|[[GetDiagServiceFromException]]|}} |
− | + | {{TableRowKeyValueList|[[GetDiagServiceName]]|}} | |
− | |[[GetDiagServiceListBySemantic]] | | + | {{TableRowKeyValueList|[[GetRepetitionTime]]|}} |
− | |||
− | |[[GetDiagServiceFromResult]] | | ||
− | |||
− | |[[GetDiagServiceFromException]] | | ||
− | |||
− | |[[GetDiagServiceName]] | | ||
− | |||
− | |[[GetRepetitionTime]] | | ||
− | + | {{TableRowCatagory|Request related terms}} | |
− | | Request related terms | + | {{TableRowKeyValueList|[[GetRequest]]|}} |
− | + | {{TableRowKeyValueList|[[GetPdu]]|}} | |
− | |[[GetRequest]] | | ||
− | |||
− | |[[GetPdu]] | | ||
− | + | {{TableRowCatagory|Result related terms}} | |
− | | Result related terms | + | {{TableRowKeyValueList|[[GetFirstResult]]|}} |
− | + | {{TableRowKeyValueList|[[GetAllResults]]|}} | |
− | |[[GetFirstResult]] | | + | {{TableRowKeyValueList|[[GetResultState]]|}} |
− | |||
− | |[[GetAllResults]] | | ||
− | |||
− | |[[GetResultState]] | | ||
− | + | {{TableRowCatagory|Response related terms}} | |
− | | Response related terms | + | {{TableRowKeyValueList|[[GetFirstResponse]]|}} |
− | + | {{TableRowKeyValueList|[[GetAllResponses]]|}} | |
− | |[[GetFirstResponse]] | | + | {{TableRowKeyValueList|[[GetResponseName]]|}} |
− | + | {{TableRowKeyValueList|[[GetResponseState]]|}} | |
− | |[[GetAllResponses]] | | + | {{TableRowKeyValueList|[[IsPositive]]|}} |
− | |||
− | |[[GetResponseName]] | | ||
− | |||
− | |[[GetResponseState]] | | ||
− | |||
− | |[[IsPositive]] | | ||
− | + | {{TableRowCatagory|Request related terms}} | |
− | | Request related terms | + | {{TableRowKeyValueList|[[GetRequest]]|}} |
− | + | {{TableRowKeyValueList|[[GetPdu]]|}} | |
− | |[[GetRequest]] | | ||
− | |||
− | |[[GetPdu]] | | ||
− | + | {{TableRowCatagory|Parameter related terms}} | |
− | | Parameter related terms | + | {{TableRowKeyValueList|[[GetParameterBySemantic]]|}} |
− | + | {{TableRowKeyValueList|[[GetParameterByPath]]|}} | |
− | |[[GetParameterBySemantic]] | | + | {{TableRowKeyValueList|[[GetParameterName]]|}} |
− | + | {{TableRowKeyValueList|[[GetParameterSemantic]]|}} | |
− | |[[GetParameterByPath]] | | + | {{TableRowKeyValueList|[[GetParameterTextId]]|}} |
− | + | {{TableRowKeyValueList|[[GetParameterAsList]]|}} | |
− | |[[GetParameterName]] | | + | {{TableRowKeyValueList|[[GetParameterValueAsBoolean]]|}} |
− | + | {{TableRowKeyValueList|[[GetParameterValueAsString]]|}} | |
− | |[[GetParameterSemantic]] | | + | {{TableRowKeyValueList|[[GetParameterValueAsInteger]]|}} |
− | + | {{TableRowKeyValueList|[[GetParameterValueAsFloat]]|}} | |
− | |[[GetParameterTextId]] | | + | {{TableRowKeyValueList|[[GetParameterValueAsByteField]]|}} |
− | + | {{TableRowKeyValueList|[[GetParameterValueAsQuantity]]|}} | |
− | |[[GetParameterAsList]] | | ||
− | |||
− | |[[GetParameterValueAsBoolean]] | | ||
− | |||
− | |[[GetParameterValueAsString]] | | ||
− | |||
− | |[[GetParameterValueAsInteger]] | | ||
− | |||
− | |[[GetParameterValueAsFloat]] | | ||
− | |||
− | |[[GetParameterValueAsByteField]] | | ||
− | |||
− | |[[GetParameterValueAsQuantity]] | | ||
− | + | {{TableRowCatagory|ComParam related terms}} | |
− | | ComParam related terms | + | {{TableRowKeyValueList|[[GetDefaultComplexComParameter]]|}} |
− | + | {{TableRowKeyValueList|[[GetComplexComParameter]]|}} | |
− | |[[GetDefaultComplexComParameter]] | | + | {{TableRowKeyValueList|[[GetComParameterValueAsBoolean]]|}} |
− | + | {{TableRowKeyValueList|[[GetComParameterValueAsString]]|}} | |
− | |[[GetComplexComParameter]] | | + | {{TableRowKeyValueList|[[GetComParameterValueAsInteger]]|}} |
− | + | {{TableRowKeyValueList|[[GetComParameterValueAsFloat]]|}} | |
− | |[[GetComParameterValueAsBoolean]] | | + | {{TableRowKeyValueList|[[GetComParameterValueAsByteField]]|}} |
− | + | {{TableRowKeyValueList|[[GetComParameterValueAsQuantity]]|}} | |
− | |[[GetComParameterValueAsString]] | | + | {{TableRowKeyValueList|[[GetDefaultComParameterValueAsBoolean]]|}} |
− | + | {{TableRowKeyValueList|[[GetDefaultComParameterValueAsString]]|}} | |
− | |[[GetComParameterValueAsInteger]] | | + | {{TableRowKeyValueList|[[GetDefaultComParameterValueAsInteger]]|}} |
− | + | {{TableRowKeyValueList|[[GetDefaultComParameterValueAsFloat]]|}} | |
− | |[[GetComParameterValueAsFloat]] | | + | {{TableRowKeyValueList|[[GetDefaultComParameterValueAsByteField]]|}} |
− | + | {{TableRowKeyValueList|[[GetDefaultComParameterValueAsQuantity]]|}} | |
− | |[[GetComParameterValueAsByteField]] | | ||
− | |||
− | |[[GetComParameterValueAsQuantity]] | | ||
− | |||
− | |[[GetDefaultComParameterValueAsBoolean]] | | ||
− | |||
− | |[[GetDefaultComParameterValueAsString]] | | ||
− | |||
− | |[[GetDefaultComParameterValueAsInteger]] | | ||
− | |||
− | |[[GetDefaultComParameterValueAsFloat]] | | ||
− | |||
− | |[[GetDefaultComParameterValueAsByteField]] | | ||
− | |||
− | |[[GetDefaultComParameterValueAsQuantity]] | | ||
− | + | {{TableRowCatagory|Event related terms}} | |
− | | Event related terms | + | {{TableRowKeyValueList|[[GetDiagServiceFromEvent]]|}} |
− | + | {{TableRowKeyValueList|[[IsDiagServiceEvent]]|}} | |
− | |[[GetDiagServiceFromEvent]] | | ||
− | |||
− | |[[IsDiagServiceEvent]] | | ||
|} | |} | ||
== Data Types == | == Data Types == | ||
− | {| | + | {| {{TableHeader}} |
− | + | {{TableRowKeyValueList|[[ComChannel]]|}} | |
− | |[[ComChannel]] | | + | {{TableRowKeyValueList|[[DiagService]]|}} |
− | + | {{TableRowKeyValueList|[[Result]]|}} | |
− | |[[DiagService]] | | + | {{TableRowKeyValueList|[[ParameterContainer]]|}} |
− | + | {{TableRowKeyValueList|[[Parameter]]|}} | |
− | |[[Result]] | | + | {{TableRowKeyValueList|[[Message]]|}} |
− | + | {{TableRowKeyValueList|[[Response]]|}} | |
− | |[[ParameterContainer]] | | + | {{TableRowKeyValueList|[[Request]]|}} |
− | + | {{TableRowKeyValueList|[[ResultState]]|}} | |
− | |[[Parameter]] | | + | {{TableRowKeyValueList|[[ResponseState]]|}} |
− | |||
− | |[[Message]] | | ||
− | |||
− | |[[Response]] | | ||
− | |||
− | |[[Request]] | | ||
− | |||
− | |[[ResultState]] | | ||
− | |||
− | |[[ResponseState]] | | ||
|} | |} | ||
== Exceptions == | == Exceptions == | ||
− | {| | + | {| {{TableHeader}} |
− | + | {{TableRowKeyValueList|[[DiagComException]]|}} | |
− | |[[DiagComException]] | | + | {{TableRowKeyValueList|[[AmbiguousSemanticException]]|}} |
− | + | {{TableRowKeyValueList|[[UnknownTargetException]]|}} | |
− | |[[AmbiguousSemanticException]] | | + | {{TableRowKeyValueList|[[LossOfComException]]|}} |
− | + | {{TableRowKeyValueList|[[UnknownResponseException]]|}} | |
− | |[[UnknownTargetException]] | | + | {{TableRowKeyValueList|[[UnknownComChannelException]]|}} |
− | + | {{TableRowKeyValueList|[[InvalidStateException]]|}} | |
− | |[[LossOfComException]] | | + | {{TableRowKeyValueList|[[IncompleteParameterizationException]]|}} |
− | |||
− | |[[UnknownResponseException]] | | ||
− | |||
− | |[[UnknownComChannelException]] | | ||
− | |||
− | |[[InvalidStateException]] | | ||
− | |||
− | |[[IncompleteParameterizationException]] | | ||
|} | |} | ||
== Checker Rules == | == Checker Rules == | ||
− | {| | + | {| {{TableHeader}} |
− | + | {{TableRowKeyValueList|[[DiagCom_Chk001]]|No Path in ExecuteDiagService response parameter argum}} | |
− | |[[DiagCom_Chk001]] | + | {{TableRowKeyValueList|[[DiagCom_Chk100]]|Access path can not be determ}} |
− | + | {{TableRowKeyValueList|[[DiagCom_Chk101]]|Access path can not be reso}} | |
− | |[[DiagCom_Chk100]] | + | {{TableRowKeyValueList|[[DiagCom_Chk102]]|Targets of the access paths are not the same struc}} |
− | |||
− | |[[DiagCom_Chk101]] | ||
− | |||
− | |[[DiagCom_Chk102]] | ||
|} | |} |
Revision as of 21:35, 9 July 2014
Contents
Classification
Name | {{{1}}} |
Short Description | {{{2}}} |
Class | {{{3}}} |
Base Extension | {{{4}}} |
Pre-Conditions | {{{5}}} |
Specified by | ISO 13209-3 |
Introduction
The purpose of the OTX DiagCom extension is to provide the necessary OTX elements for performing diagnostic vehicle communication. Specifically, the following diagnostic use cases have been considered:
- Handling of ECU communication channels
- Execution of a diagnostic service
- Setting of service request parameters and evaluation of service response parameters
- Dealing with positive or various negative responses of a diagnostic service
- Handling of communication channel protocol parameters
- Performing variant identification of an ECU
- Functionally addressed diagnostic services: more than one ECU will respond to a request
- Repeated/cyclic execution of diagnostic services: a single request will result in multiple responses from the same ECU
- A potential combination of functional addressing and cyclic service execution: multiple ECUs responding multiple times to one request
- Complex data structures within the requests and responses of diagnostic services: structures of parameters, lists of parameters, lists containing structures of parameters
Actions
ComChannel related actions | |
IdentifyAndSelectVariant | |
CloseComChannel | |
ComParameter related actions | |
SetComParameter | |
SetComplexComParameter | |
DiagService related actions | |
ExecuteDiagService | Sending a diagnostic services to the ECU. |
ExecuteHexDiagService | |
StartRepeatedExecution | |
StopRepeatedExecution | |
SetRepetitionTime | |
GetAllResultsAndClear | |
SetParameterValue | |
SetParameterValueBySemantic | |
SetPdu |
Terms
Data Types
ComChannel | |
DiagService | |
Result | |
ParameterContainer | |
Parameter | |
Message | |
Response | |
Request | |
ResultState | |
ResponseState |
Exceptions
DiagComException | |
AmbiguousSemanticException | |
UnknownTargetException | |
LossOfComException | |
UnknownResponseException | |
UnknownComChannelException | |
InvalidStateException | |
IncompleteParameterizationException |
Checker Rules
DiagCom_Chk001 | No Path in ExecuteDiagService response parameter argum |
DiagCom_Chk100 | Access path can not be determ |
DiagCom_Chk101 | Access path can not be reso |
DiagCom_Chk102 | Targets of the access paths are not the same struc |