Application Port Interface,Service Port Interface,除了IS-SERVICE字段外,其余都相同。
ClientServer
支持IsService
<CLIENT-SERVER-INTERFACE UUID="523b6eb5-6814-4b10-893e-de3aa9b68b90">
<SHORT-NAME>app_cs_1</SHORT-NAME>
<IS-SERVICE>false</IS-SERVICE>
<OPERATIONS>
<CLIENT-SERVER-OPERATION UUID="28ffbc0d-ae6f-46bd-8a30-4dcafe483869">
<SHORT-NAME>op1</SHORT-NAME>
<ARGUMENTS>
<ARGUMENT-DATA-PROTOTYPE UUID="0841c0e0-cde8-413a-838b-9cedbbaf4fad">
<SHORT-NAME>arg1</SHORT-NAME>
<SW-DATA-DEF-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<SW-CALIBRATION-ACCESS>NOT-ACCESSIBLE</SW-CALIBRATION-ACCESS>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</SW-DATA-DEF-PROPS>
<TYPE-TREF DEST="IMPLEMENTATION-DATA-TYPE">/ImplementationDataTypes/boolean</TYPE-TREF>
<DIRECTION>IN</DIRECTION>
<SERVER-ARGUMENT-IMPL-POLICY>USE-ARGUMENT-TYPE</SERVER-ARGUMENT-IMPL-POLICY>
</ARGUMENT-DATA-PROTOTYPE>
</ARGUMENTS>
<POSSIBLE-ERROR-REFS>
<POSSIBLE-ERROR-REF DEST="APPLICATION-ERROR">/PortInterfaces/app_cs_1/error1</POSSIBLE-ERROR-REF>
<POSSIBLE-ERROR-REF DEST="APPLICATION-ERROR">/PortInterfaces/app_cs_1/error3</POSSIBLE-ERROR-REF>
</POSSIBLE-ERROR-REFS>
</CLIENT-SERVER-OPERATION>
</OPERATIONS>
<POSSIBLE-ERRORS>
<APPLICATION-ERROR UUID="d894fc6a-8067-4726-bc17-104023d0eb5d">
<SHORT-NAME>error1</SHORT-NAME>
<ERROR-CODE>1</ERROR-CODE>
</APPLICATION-ERROR>
<APPLICATION-ERROR UUID="56e95a0f-8578-464a-b4b4-f9bf19184583">
<SHORT-NAME>error2</SHORT-NAME>
<ERROR-CODE>2</ERROR-CODE>
</APPLICATION-ERROR>
<APPLICATION-ERROR UUID="75f9f9d2-d84e-40ba-9df0-1f4bcf521e79">
<SHORT-NAME>error3</SHORT-NAME>
<ERROR-CODE>3</ERROR-CODE>
</APPLICATION-ERROR>
</POSSIBLE-ERRORS>
</CLIENT-SERVER-INTERFACE>
字段 | 约束 | 介绍 |
---|---|---|
IS-SERVICE | false/true | 表示其是否是service接口 |
OPERATIONS CLIENT-SERVER-OPERATION | 定义方法 | |
ARGUMENTS ARGUMENT-DATA-PROTOTYPE | 定义方法中参数 | |
SW-CALIBRATION-ACCESS | NotAccessible ReadOnly ReadWrite | |
TYPE-TREF | 引用IDT ADT | |
DIRECTION | IN OUT INOUT | |
SERVER-ARGUMENT-IMPL-POLICY | UseArgumentType UseVoid | |
POSSIBLE-ERROR-REFS POSSIBLE-ERROR-REF | 本接口内定义 | 引用异常 |
POSSIBLE-ERRORS APPLICATION-ERROR | 定义异常 | |
SHORT-NAME | 异常名 | |
ERROR-CODE | 0~63,0表示E_OK | 异常值 |
UML
SenderReceiver
支持IsService
<SENDER-RECEIVER-INTERFACE UUID="0f101725-2a72-492b-96e3-7d8824002f1a">
<SHORT-NAME>app_sr_1</SHORT-NAME>
<IS-SERVICE>false</IS-SERVICE>
<DATA-ELEMENTS>
<VARIABLE-DATA-PROTOTYPE UUID="42e38dc4-b0c9-4789-ad8f-77460b69d8d9">
<SHORT-NAME>element1</SHORT-NAME>
<SW-DATA-DEF-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<SW-CALIBRATION-ACCESS>NOT-ACCESSIBLE/READ-ONLY/READ-WRITE</SW-CALIBRATION-ACCESS>
<DATA-CONSTR-REF DEST="DATA-CONSTR">/DataConstrs/data_contraint_1</DATA-CONSTR-REF>
<SW-IMPL-POLICY>STANDARD/QUEUED</SW-IMPL-POLICY>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</SW-DATA-DEF-PROPS>
<TYPE-TREF DEST="APPLICATION-PRIMITIVE-DATA-TYPE">/ApplicationDataTypes/adt_value_1</TYPE-TREF>
</VARIABLE-DATA-PROTOTYPE>
</DATA-ELEMENTS>
<INVALIDATION-POLICYS>
<INVALIDATION-POLICY>
<DATA-ELEMENT-REF DEST="VARIABLE-DATA-PROTOTYPE">/PortInterfaces/app_sr_1/element1</DATA-ELEMENT-REF>
<HANDLE-INVALID>KEEP/REPLACE/DONT-INVALIDATE</HANDLE-INVALID>
</INVALIDATION-POLICY>
</INVALIDATION-POLICYS>
</SENDER-RECEIVER-INTERFACE>
字段 | 约束 | 介绍 |
---|---|---|
IS-SERVICE | false/true | 表示其是否是service接口 |
DATA-ELEMENTS VARIABLE-DATA-PROTOTYPE | ||
DATA-CONSTR-REF | 引用 IDT ADT | |
SW-IMPL-POLICY | STANDARD QUEUED | 队列方式接收/以最后收到的为准,勾选后下列两项不可选择 |
SW-CALIBRATION-ACCESS | NOT-ACCESSIBLE READ-ONLY READ-WRITE | |
INVALIDATION-POLICY | ||
DATA-ELEMENT-REF | ||
HANDLE-INVALID | KEEP REPLACE DONT-INVALIDATE | 继续交给SWC处理 用初始值替换 不做检测 |
ModeSwitch
支持IsService,一般BswM和EcuM用
<MODE-SWITCH-INTERFACE UUID="9298E917-3159-408C-B1EA-39B5803F2EA5">
<SHORT-NAME>mode_app</SHORT-NAME>
<IS-SERVICE>false</IS-SERVICE>
<MODE-GROUP UUID="20E5B70B-F210-4F72-8501-5D5016862E69">
<SHORT-NAME>Mode</SHORT-NAME>
<TYPE-TREF DEST="MODE-DECLARATION-GROUP">/ModeDclrGroups/B</TYPE-TREF>
</MODE-GROUP>
</MODE-SWITCH-INTERFACE>
字段 | 约束 | 介绍 |
---|---|---|
IS-SERVICE | false/true | 表示其是否是service接口 |
TYPE-TREF | 引用Mode Group |
Calibration
不支持IsService
<ELEMENTS>
<PARAMETER-INTERFACE UUID="77DA1A76-EB4F-4584-9801-5FB32EB6A19E">
<SHORT-NAME>calibration</SHORT-NAME>
<IS-SERVICE>false</IS-SERVICE>
<PARAMETERS>
<PARAMETER-DATA-PROTOTYPE UUID="4D17494E-5577-4C95-9D73-98F2417DDC5E">
<SHORT-NAME>Element</SHORT-NAME>
<SW-DATA-DEF-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<SW-ADDR-METHOD-REF DEST="SW-ADDR-METHOD">/SwAddrMethods/calibration</SW-ADDR-METHOD-REF>
<SW-CALIBRATION-ACCESS>READ-WRITE</SW-CALIBRATION-ACCESS>
<DATA-CONSTR-REF DEST="DATA-CONSTR">/AUTOSAR_Platform/DataConstrs/boolean_DataConstr</DATA-CONSTR-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</SW-DATA-DEF-PROPS>
<TYPE-TREF DEST="IMPLEMENTATION-DATA-TYPE">/Predefined_DEV/ImplementationDataTypes/Dem_UdsStatusByteType</TYPE-TREF>
</PARAMETER-DATA-PROTOTYPE>
</PARAMETERS>
</PARAMETER-INTERFACE>
<SW-ADDR-METHOD UUID="23CA4DB7-3F3E-4585-92D5-1DDA480F1EDA">
<SHORT-NAME>calibration</SHORT-NAME>
<MEMORY-ALLOCATION-KEYWORD-POLICY>ADDR-METHOD-SHORT-NAME</MEMORY-ALLOCATION-KEYWORD-POLICY>
<SECTION-INITIALIZATION-POLICY>CLEARED</SECTION-INITIALIZATION-POLICY>
<SECTION-TYPE>CALIBRATION-OFFLINE</SECTION-TYPE>
</SW-ADDR-METHOD>
</ELEMENTS>
字段 | 约束 | 介绍 |
---|---|---|
IS-SERVICE | false | |
PARAMETERS PARAMETER-DATA-PROTOTYPE | ||
SW-ADDR-METHOD-REF | ||
SW-CALIBRATION-ACCESS | ||
DATA-CONSTR-REF | ||
TYPE-TREF |
NV Data
<NV-DATA-INTERFACE UUID="0CB747B9-15D4-4EB9-BEC6-6D8DE38196F5">
<SHORT-NAME>nv_data</SHORT-NAME>
<IS-SERVICE>false</IS-SERVICE>
<NV-DATAS>
<VARIABLE-DATA-PROTOTYPE UUID="5A17E7DF-027A-4C7A-AF9A-35CEA7B59F7D">
<SHORT-NAME>Element</SHORT-NAME>
<SW-DATA-DEF-PROPS>
<SW-DATA-DEF-PROPS-VARIANTS>
<SW-DATA-DEF-PROPS-CONDITIONAL>
<SW-ADDR-METHOD-REF DEST="SW-ADDR-METHOD">/SwAddrMethods/calibration</SW-ADDR-METHOD-REF>
<SW-CALIBRATION-ACCESS>READ-WRITE</SW-CALIBRATION-ACCESS>
<DATA-CONSTR-REF DEST="DATA-CONSTR">/AUTOSAR_Platform/DataConstrs/float32_DataConstr</DATA-CONSTR-REF>
</SW-DATA-DEF-PROPS-CONDITIONAL>
</SW-DATA-DEF-PROPS-VARIANTS>
</SW-DATA-DEF-PROPS>
<TYPE-TREF DEST="IMPLEMENTATION-DATA-TYPE">/Predefined_DEV/ImplementationDataTypes/NvM_RequestResultType</TYPE-TREF>
</VARIABLE-DATA-PROTOTYPE>
</NV-DATAS>
</NV-DATA-INTERFACE>
字段 | 约束 | 介绍 |
---|---|---|
IS-SERVICE | false | |
NV-DATAS VARIABLE-DATA-PROTOTYPE | ||
SW-ADDR-METHOD-REF | ||
SW-CALIBRATION-ACCESS | ||
DATA-CONSTR-REF | ||
TYPE-TREF |
Trigger
支持IsService
待补充
Diagnostic Communication Manager, DCM
SenderReceiver
Port Interface | IsService | Type |
---|---|---|
DataServices_{Data} | R P PR | boolean sint8 sint16 sint32 uint32 uint8 uint16 DataArrayTypeUint8_{Data} DataArrayTypeUint16_{Data} DataArrayTypeUint32_{Data} DataArrayTypeSint8_{Data} DataArrayTypeSint16_{Data} DataArrayTypeSint32_{Data} |
IOControlRequest_{Data} | true P | ControlMask_8 ControlMask_16 ControlMask_32 IOOperationRequest_{Data} DataArrayTypeUint8_{Data} |
IOControlResponse | true R | IOOperationResponse |
ClientServer
Port Interface | IsService | Operation | Argument | Type | Direction | Error |
---|---|---|---|---|---|---|
SecurityAccess_ {SecurityLevel} | true R | CompareKey | Key OpStatus ErrorCode | KeyArrayType_{SecurityLevel} Dcm_OpStatusType Dcm_NegativeResponseCodeType | IN IN OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING 11: DCM_E_COMPARE_KEY_FAILED |
GetSecurity AttemptCounter | OpStatus AttemptCounter | Dcm_OpStatusType uint8 | IN OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
GetSeed | OpStatus Seed ErrorCode | Dcm_OpStatusType SeedArrayType_{SecurityLevel} Dcm_NegativeResponseCodeType | IN OUT OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
GetSeed | SecurityAccessDataRecord OpStatus Seed ErrorCode | SecurityAccessDataRecordType_{SecurityLevel} Dcm_OpStatusType SeedArrayType_{SecurityLevel} Dcm_NegativeResponseCodeType | IN IN OUT OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
SetSecurity AttemptCounter | OpStatus AttemptCounter | Dcm_OpStatusType uint8 | IN IN | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
DataServices_ {Data} | true R P PR | ConditionCheckRead | OpStatus ErrorCode | Dcm_OpStatusType Dcm_NegativeResponseCodeType | IN OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING |
ConditionCheckRead | ErrorCode | Dcm_NegativeResponseCodeType | OUT | 0: E_OK 1: E_NOT_OK | ||
FreezeCurrentState | OpStatus ErrorCode | Dcm_OpStatusType Dcm_NegativeResponseCodeType | IN OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
FreezeCurrentState | OpStatus controlMask ErrorCode | Dcm_OpStatusType Dcm_ControlMask_{Data} Dcm_NegativeResponseCodeType | IN IN OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
FreezeCurrentState | ErrorCode | Dcm_NegativeResponseCodeType | OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
FreezeCurrentState | controlMask ErrorCode | Dcm_ControlMask_{Data} Dcm_NegativeResponseCodeType | IN OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
GetScalingInformation | OpStatus ScalingInfo ErrorCode | Dcm_OpStatusType ScalingInfoArrayType_{Data} Dcm_NegativeResponseCodeType | IN OUT OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
GetScalingInformation | ScalingInfo ErrorCode | ScalingInfoArrayType_{Data} Dcm_NegativeResponseCodeType | OUT OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
ReadData | OpStatus Data | Dcm_OpStatusType DataArrayTypeUint8_{Data} | IN OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
ReadData | OpStatus Data ErrorCode | Dcm_OpStatusType DataArrayTypeUint8_{Data} Dcm_NegativeResponseCodeType | IN OUT OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
ReadData | Data | DataArrayTypeUint8_{Data} | OUT | 0: E_OK 1: E_NOT_OK | ||
ReadDataLength | OpStatus DataLength | Dcm_OpStatusType uint16 | IN OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
ReadDataLength | DataLength | uint16 | OUT | 0: E_OK 1: E_NOT_OK | ||
ResetToDefault | OpStatus ErrorCode | Dcm_OpStatusType Dcm_NegativeResponseCodeType | IN OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
ResetToDefault | OpStatus controlMask ErrorCode | Dcm_OpStatusType Dcm_ControlMask_{Data} Dcm_NegativeResponseCodeType | IN IN OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
ResetToDefault | ErrorCode | Dcm_NegativeResponseCodeType | OUT | 0: E_OK 1: E_NOT_OK | ||
ResetToDefault | controlMask ErrorCode | Dcm_ControlMask_{Data} Dcm_NegativeResponseCodeType | IN OUT | 0: E_OK 1: E_NOT_OK | ||
ReturnControlToECU | ErrorCode | Dcm_NegativeResponseCodeType | OUT | 0: E_OK 1: E_NOT_OK | ||
ReturnControlToECU | controlMask ErrorCode | Dcm_ControlMask_{Data} Dcm_NegativeResponseCodeType | IN OUT | 0: E_OK 1: E_NOT_OK | ||
ShortTermAdjustment | ControlStateInfo OpStatus ErrorCode | DataArrayTypeUint8_{Data} Dcm_OpStatusType Dcm_NegativeResponseCodeType | IN IN OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
ShortTermAdjustment | ControlStateInfo OpStatus controlMask ErrorCode | DataArrayTypeUint8_{Data} Dcm_OpStatusType Dcm_ControlMask_{Data} Dcm_NegativeResponseCodeType | IN IN IN OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
ShortTermAdjustment | ControlStateInfo DataLength OpStatus ErrorCode | DataArrayTypeUint8_{Data} uint16 Dcm_OpStatusType Dcm_NegativeResponseCodeType | IN IN IN OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
ShortTermAdjustment | ControlStateInfo DataLength OpStatus controlMask ErrorCode | DataArrayTypeUint8_{Data} uint16 Dcm_OpStatusType Dcm_ControlMask_{Data} Dcm_NegativeResponseCodeType | IN IN IN IN OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
ShortTermAdjustment | ControlStateInfo ErrorCode | DataArrayTypeUint8_{Data} Dcm_NegativeResponseCodeType | IN OUT | 0: E_OK 1: E_NOT_OK | ||
ShortTermAdjustment | ControlStateInfo controlMask ErrorCode | DataArrayTypeUint8_{Data} Dcm_ControlMask_{Data} Dcm_NegativeResponseCodeType | IN IN OUT | 0: E_OK 1: E_NOT_OK | ||
ShortTermAdjustment | ControlStateInfo DataLength ErrorCode | DataArrayTypeUint8_{Data} uint16 Dcm_NegativeResponseCodeType | IN IN OUT | 0: E_OK 1: E_NOT_OK | ||
ShortTermAdjustment | ControlStateInfo DataLength controlMask ErrorCode | DataArrayTypeUint8_{Data} uint16 Dcm_ControlMask_{Data} Dcm_NegativeResponseCodeType | IN IN IN OUT | 0: E_OK 1: E_NOT_OK | ||
WriteData | Data OpStatus ErrorCode | DataArrayTypeUint8_{Data} Dcm_OpStatusType Dcm_NegativeResponseCodeType | IN IN OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
WriteData | Data DataLength OpStatus ErrorCode | DataArrayTypeUint8_{Data} uint16 Dcm_OpStatusType Dcm_NegativeResponseCodeType | IN IN IN OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
WriteData | Data ErrorCode | DataArrayTypeUint8_{Data} Dcm_NegativeResponseCodeType | IN OUT | 0: E_OK 1: E_NOT_OK | ||
WriteData | Data DataLength ErrorCode | DataArrayTypeUint8_{Data} uint16 Dcm_NegativeResponseCodeType | IN IN OUT | 0: E_OK 1: E_NOT_OK | ||
DataServices_ DIDRange_ {Range} | true R | IsDidAvailable | DID OpStatus supported | uint16 Dcm_OpStatusType Dcm_DidSupportedType | IN IN OUT | 0: E_OK 10: DCM_E_PENDING |
ReadDidData | DID Data OpStatus DataLength ErrorCode | uint16 DcmDspDidRangeArrayType_{Range} Dcm_OpStatusType uint16 Dcm_NegativeResponseCodeType | IN OUT IN OUT OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
ReadDid RangeDataLength | DID OpStatus DataLength | uint16 Dcm_OpStatusType uint16 | IN IN OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
WriteDidData | DID Data OpStatus DataLength ErrorCode | uint16 DcmDspDidRangeArrayType_{Range} Dcm_OpStatusType uint16 Dcm_NegativeResponseCodeType | IN IN IN IN OUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING | ||
InfotypeServices_ {VehInfoData} | true R | GetInfotypeValueData | OpStatus DataValueBuffer DataValueBufferSize | Dcm_OpStatusType InfoTypeServicesArrayType_{VehInfoData} uint8 | IN OUT INOUT | 0: E_OK 1: E_NOT_OK 10: DCM_E_PENDING |
RoutineServices_ {RoutineName} | true R | RequestResults | OpStatus DataOut_{Signal} ErrorCode | Dcm_OpStatusType RequestDataOutType_{Routine}_{Signal} Dcm_NegativeResponseCodeType | IN OUT OUT | 0:E_OK 1:E_NOT_OK 10:DCM_E_PENDING 12:DCM_E_FORCE_RCRRP |
Request ControlServices_ {Tid} | true R | RequestControl | OutBuffer InBuffer | RequestControlServicesOutArrayType_{Tid} RequestControlServicesInArrayType_{Tid} | OUT IN | 0:E_OK 1:E_NOT_OK |
Callback DCMRequest Services | true R | StartProtocol | ProtocolID | Dcm_ProtocolType | IN | 0:E_OK 1:E_NOT_OK 5:E_PROTOCOL_NOT_ALLOWED |
StopProtocol | ProtocolID | Dcm_ProtocolType | IN | 0:E_OK 1:E_NOT_OK | ||
Service Request Notification | true R | Confirmation | SID ReqType SourceAddress ConfirmationStatus | uint8 uint8 uint16 Dcm_ConfirmationStatusType | IN IN IN IN | 0:E_OK 1:E_NOT_OK |
Indication | SID RequestData DataSize ReqType SourceAddress ErrorCode | uint8 RequestDataArray uint16 uint8 uint16 Dcm_NegativeResponseCodeType | IN IN IN IN IN OUT | 0:E_OK 1:E_NOT_OK 8:E_REQUEST_NOT_ACCEPTED | ||
DCMServices | true P | GetActiveProtocol | ActiveProtocol | Dcm_ProtocolType | OUT | 0:E_OK |
GetSecurityLevel | SecLevel | Dcm_SecLevelType | OUT | 0:E_OK 1:E_NOT_OK | ||
GetSesCtrlType | SesCtrlType | Dcm_SesCtrlType | OUT | 0:E_OK 1:E_NOT_OK | ||
ResetToDefaultSession | 0:E_OK 1:E_NOT_OK | |||||
SetActiveDiagnostic | active | boolean | IN | 0:E_OK | ||
DCM_Roe | true P | TriggerOnEvent | 0:E_OK 1:E_NOT_OK |
Diagnostic Event Manager, DEM
SenderReceiver
Port Interface | IsService | Type |
---|---|---|
DataServices_{Data} | false | boolean sint8 sint16 sint32 uint32 uint8 uint16 |
ClientServer
Port Interface | IsService | Operation | Argument | Type | Direction | Error |
---|---|---|---|---|---|---|
AgingCycle | true P | SetAgingCycleState | 0: E_OK 1: E_NOT_OK | |||
CallbackClearEventAllowed | true | ClearEventAllowed | Allowed | boolean | OUT | 0: E_OK 1: E_NOT_OK |
CallbackEventStatusChange | true R | EventStatusChanged | EventStatusByteOld EventStatusByteNew | Dem_UdsStatusByteType Dem_UdsStatusByteType | IN IN | |
CallbackEventDataChanged | true R | EventDataChanged | ||||
CallbackGetFaultDetectCounter | true R | GetFaultDetectionCounter | FaultDetectionCounter | sint8 | OUT | 0: E_OK 1: E_NOT_OK |
CallbackInitMonitorForEvent | true R | InitMonitorForEvent | InitMonitorReason | Dem_InitMonitorReasonType | IN | 0: E_OK 1: E_NOT_OK |
CallbackDTCStatusChange | true R | DTCStatusChanged | DTC DTCStatusOld DTCStatusNew | uint32 Dem_UdsStatusByteType Dem_UdsStatusByteType | IN IN IN | 0: E_OK 1: E_NOT_OK |
GeneralCallbackEventDataChanged | true R | EventDataChanged | EventId | Dem_EventIdType | IN | |
GeneralCallbackEventStatusChange | true R | EventStatusChanged | EventId EventStatusByteOld EventStatusByteNew | Dem_EventIdType Dem_UdsStatusByteType Dem_UdsStatusByteType | IN IN IN | |
CallbackComponentStatusChanged | true R | ComponentStatusChanged | ComponentFailedStatus | boolean | IN | |
CddIf | true P | ClearDTC | DTC DTCFormat DTCOrigin | uint32 Dem_DTCFormatType Dem_DTCOriginType | IN IN IN | 0: E_OK 1: DEM_CLEAR_WRONG_DTC 2: DEM_CLEAR_WRONG_DTCORIGIN 3: DEM_CLEAR_FAILED 4: DEM_CLEAR_PENDING 5: DEM_CLEAR_BUSY 6: DEM_CLEAR_MEMORY_ERROR |
DTCSuppression | true P | SetDTCSuppression | DTC DTCFormat SuppressionStatus | uint32 Dem_DTCFormatType boolean | IN IN IN | 0: E_OK 1: E_NOT_OK |
DataServices_{Data} | true R | ReadData | Data | DataArrayType_{Data} | OUT | 0: E_OK 1: E_NOT_OK |
DcmIf | true P | DcmClearDTC | DTC DTCFormat DTCOrigin | uint32 Dem_DTCFormatType Dem_DTCOriginType | IN IN IN | 0: E_OK 1: DEM_CLEAR_WRONG_DTC 2: DEM_CLEAR_WRONG_DTCORIGIN 3: DEM_CLEAR_FAILED 4: DEM_CLEAR_PENDING 5: DEM_CLEAR_BUSY 6: DEM_CLEAR_MEMORY_ERROR |
DcmEnableDTCSetting | DTCGroup DTCKind | uint32 Dem_DTCKindType | IN IN | 0: E_OK 1: DEM_CONTROL_DTC_SETTING_N_OK 2: DEM_CONTROL_DTC_WRONG_DTCGROUP | ||
DTRCentralReport | true P | SetDTR | TestResult LowerLimit UpperLimit Ctrlval | sint32 sint32 sint32 Dem_DTRControlType | IN IN IN IN | 0: E_OK 1: E_NOT_OK |
EnableCondition | true P | SetEnableCondition | ConditionFulfifilled | boolean | IN | 0: E_OK 1: E_NOT_OK |
DiagnosticMonitor | true P | ClearPrestoredFreezeFrame | 0: E_OK 1: E_NOT_OK | |||
PrestoreFreezeFrame | 0: E_OK 1: E_NOT_OK | |||||
ResetEventDebounceStatus | DebounceResetStatus | Dem_DebounceResetStatusType | IN | 0: E_OK 1: E_NOT_OK | ||
ResetEventStatus | 0: E_OK 1: E_NOT_OK | |||||
SetEventDisabled | 0: E_OK 1: E_NOT_OK | |||||
SetEventStatus | EventStatus | Dem_EventStatusType | IN | 0: E_OK 1: E_NOT_OK | ||
EventStatus | true P | SetWIRStatus | WIRStatus | boolean | IN | 0: E_OK 1: E_NOT_OK |
EventAvailable | true P | SetEventAvailable | AvailableStatus | boolean | IN | 0: E_OK 1: E_NOT_OK |
DiagnosticInfo | true P | Operations | DTCFormat DTCOfEvent | Dem_DTCFormatType uint32 | IN OUT | 0: E_OK 1: E_NOT_OK 2: DEM_E_NO_DTC_AVAILABLE |
GetDebouncingOfEvent | DebouncingState | Dem_DebouncingStateType | OUT | 0: E_OK 1: E_NOT_OK | ||
GetEventExtendedDataRecord | RecordNumber DestBuffer | uint8 Dem_MaxDataValueType | IN OUT | 0: E_OK 1: E_NOT_OK 48: DEM_E_NODATAAVAILABLE 49: DEM_E_WRONG_RECORDNUMBER | ||
GetEventExtendedDataRecordEx | RecordNumber DestBuffer Bufsize | uint8 Dem_MaxDataValueType uint16 | IN OUT INOUT | 0: E_OK 1: E_NOT_OK 21: DEM_E_WRONG_BUFFERSIZE 48: DEM_E_NODATAAVAILABLE 49: DEM_E_WRONG_RECORDNUMBER | ||
GetEventFailed | EventFailed | boolean | OUT | 0: E_OK 1: E_NOT_OK | ||
GetEventFreezeFrameData | RecordNumber ReportTotalRecord DataId DestBuffer | uint8 boolean uint16 Dem_MaxDataValueType | IN IN IN OUT | 0: E_OK 1: E_NOT_OK 48: DEM_E_NODATAAVAILABLE 49: DEM_E_WRONG_RECORDNUMBER 50: DEM_E_WRONG_DIDNUMBER | ||
GetEventFreezeFrameDataEx | RecordNumber DataId DestBuffer BufSize | uint8 uint16 Dem_MaxDataValueType uint16 | IN IN OUT INOUT | 0: E_OK 1: E_NOT_OK 21: DEM_E_WRONG_BUFFERSIZE 48: DEM_E_NODATAAVAILABLE 49: DEM_E_WRONG_RECORDNUMBER 50: DEM_E_WRONG_DIDNUMBER | ||
GetEventStatus | EventStatusByte | Dem_UdsStatusByteType | OUT | 0: E_OK 1: E_NOT_OK | ||
GetEventTested | EventTested | boolean | OUT | 0: E_OK 1: E_NOT_OK | ||
GetFaultDetectionCounter | FaultDetectionCounter | sint8 | OUT | 0: E_OK 1: E_NOT_OK 3: DEM_E_NO_FDC_AVAILABLE | ||
GeneralDiagnosticInfo | true P | GetDTCOfEvent | EventId DTCFormat DTCOfEvent | Dem_EventIdType Dem_DTCFormatType uint32 | IN IN OUT | 0: E_OK 1: E_NOT_OK 2: DEM_E_NO_DTC_AVAILABLE |
GetDebouncingOfEvent | EventId DebouncingState | Dem_EventIdType Dem_DebouncingStateType | IN OUT | 0: E_OK 1: E_NOT_OK | ||
GetEventExtendedDataRecord | EventId RecordNumber DestBuffer | Dem_EventIdType uint8 Dem_MaxDataValueType | IN IN OUT | 0: E_OK 1: E_NOT_OK 48: DEM_E_NODATAAVAILABLE 49: DEM_E_WRONG_RECORDNUMBER | ||
GetEventExtendedDataRecordEx | RecordNumber DestBuffer Bufsize | uint8 Dem_MaxDataValueType uint16 | IN OUT INOUT | 0: E_OK 1: E_NOT_OK 21: DEM_E_WRONG_BUFFERSIZE 48: DEM_E_NODATAAVAILABLE 49: DEM_E_WRONG_RECORDNUMBER | ||
GetEventFailed | EventId EventFailed | Dem_EventIdType boolean | IN OUT | 0: E_OK 1: E_NOT_OK | ||
GetEventFreezeFrameData | EventId RecordNumber ReportTotalRecord DataId DestBuffer | Dem_EventIdType uint8 boolean uint16 Dem_MaxDataValueType | IN IN IN IN OUT | 0: E_OK 1: E_NOT_OK 48: DEM_E_NODATAAVAILABLE 49: DEM_E_WRONG_RECORDNUMBER 50: DEM_E_WRONG_DIDNUMBER | ||
GetEventFreezeFrameDataEx | RecordNumber DataId DestBuffer BufSize | uint8 uint16 Dem_MaxDataValueType uint16 | IN IN OUT INOUT | 0: E_OK 1: E_NOT_OK 21: DEM_E_WRONG_BUFFERSIZE 48: DEM_E_NODATAAVAILABLE 49: DEM_E_WRONG_RECORDNUMBER 50: DEM_E_WRONG_DIDNUMBER | ||
GetEventStatus | EventId EventStatusByte | Dem_EventIdType Dem_UdsStatusByteType | IN OUT | 0: E_OK 1: E_NOT_OK | ||
GetEventTested | EventId EventTested | Dem_EventIdType boolean | IN OUT | 0: E_OK 1: E_NOT_OK | ||
GetFaultDetectionCounter | EventId FaultDetectionCounter | Dem_EventIdType sint8 | IN OUT | 0: E_OK 1: E_NOT_OK 3: DEM_E_NO_FDC_AVAILABLE | ||
IndicatorStatus | true P | GetIndicatorStatus | IndicatorStatus | Dem_IndicatorStatusType | OUT | 0: E_OK 1: E_NOT_OK |
IUMPRDenominator | true P | RepIUMPRDenLock | 0: E_OK 1: E_NOT_OK | |||
RepIUMPRDenRelease | 0: E_OK 1: E_NOT_OK | |||||
IUMPRDenominatorCondition | true P | GetIUMPRDenCondition | ConditionStatus | Dem_IumprDenomCondStatusType | OUT | 0: E_OK 1: E_NOT_OK |
SetIUMPRDenCondition | ConditionStatus | Dem_IumprDenomCondStatusType | IN | 0: E_OK 1: E_NOT_OK | ||
IUMPRNumerator | true P | RepIUMPRFaultDetect | 0: E_OK 1: E_NOT_OK | |||
OperationCycle | true P | GetOperationCycleState | CycleState | Dem_OperationCycleStateType | OUT | 0: E_OK 1: E_NOT_OK |
SetOperationCycleState | CycleState | Dem_OperationCycleStateType | IN | 0: E_OK 1: E_NOT_OK | ||
EvMemOverflowIndication | true P | GetEventMemoryOverflflow OverflflowIndMirrorMemory OverflflowIndPermanentMemory OverflflowIndPrimaryMemory OverflflowIndUserDefifinedMemory_{Memory} | OverflflowIndication | boolean | OUT | 0: E_OK 1: E_NOT_OK |
GetNumberOfEventMemoryEntries | GetNumberOfEventMemoryEntries | uint8 | OUT | 0: E_OK 1: E_NOT_OK | ||
PfcCycleQualified | true P | GetPfcCycleQualifified | isQualifified | boolean | OUT | 0: E_OK 1: E_NOT_OK |
SetPfcCycleQualifified | 0: E_OK 1: E_NOT_OK | |||||
PowerTakeOff | true P | SetPtoStatus | PtoStatus | boolean | IN | 0: E_OK 1: E_NOT_OK |
SetClearDTC | true P/R | SetClearDTC SetClearDTC_dependend SetClearDTC_master | DTC DTCFormat DTCOrigin | uint32 Dem_DTCFormatType Dem_DTCOriginType | IN IN IN | 0: E_OK 1: E_NOT_OK |
GetDataOfPID21 | true P | GetDataOfPID21 | PID21value | Dem_PID21valueType | OUT | 0: E_OK 1: E_NOT_OK |
SetDataOfPID21 | true P | SetDataOfPID21 | PID21value | Dem_PID21valueType | IN | 0: E_OK 1: E_NOT_OK |
SetDataOfPID31 | true P | SetDataOfPID31 | PID31value | Dem_PID31valueType | IN | 0: E_OK 1: E_NOT_OK |
StorageCondition | true P | SetStorageCondition | ConditionFulfifilled | boolean | IN | 0: E_OK 1: E_NOT_OK |
Function Inhibition Manager, FIM
ClientServer
Port Interface | IsService | Operation | Argument | Type | Direction | Error |
---|---|---|---|---|---|---|
FunctionInhibition | true P | GetFunctionPermission | Permission | boolean | OUT | 0: E_OK 1: E_NOT_OK |
ControlFunctionAvailable | true P | SetFunctionAvailable | Availability | boolean | IN | 0: E_OK 1: E_NOT_OK |
NVRAM Manager, NvM
ClientServer
Port Interface | IsService | Operation | Argument | Type | Direction | Error |
---|---|---|---|---|---|---|
NvMAdmin | true P | SetBlockProtection | ProtectionEnabled | boolean | IN | 0: E_OK 1: E_NOT_OK |
NvM_Mirror | true R | ReadRamBlockFromNvM | SrcPtr | ConstVoidPtr | IN | 0: E_OK 1: E_NOT_OK |
WriteRamBlockToNvM | DstPtr | VoidPtr | IN | 0: E_OK 1: E_NOT_OK | ||
NvM_NotifyInitBlock | true R | InitBlock | 0: E_OK | |||
NvM_NotifyJobFinished | true R | JobFinished | ServiceId JobResult | uint8 NvM_RequestResultType | IN IN | 0: E_OK |
NvM_Service | true P | EraseBlock | 0: E_OK 1: E_NOT_OK | |||
GetDataIndex | DataIndexPtr | uint8 | OUT | 0: E_OK 1: E_NOT_OK | ||
GetErrorStatus | RequestResultPtr | NvM_RequestResultType | OUT | 0: E_OK 1: E_NOT_OK | ||
InvalidateNvBlock | 0: E_OK 1: E_NOT_OK | |||||
ReadBlock | DstPtr | VoidPtr | IN | 0: E_OK 1: E_NOT_OK | ||
ReadPRAMBlock | 0: E_OK 1: E_NOT_OK | |||||
RestoreBlockDefaults | DstPtr | VoidPtr | IN | 0: E_OK 1: E_NOT_OK | ||
RestorePRAMBlockDefaults | 0: E_OK 1: E_NOT_OK | |||||
SetDataIndex | DataIndex | uint8 | IN | 0: E_OK 1: E_NOT_OK | ||
SetRamBlockStatus | BlockChanged | boolean | IN | 0: E_OK 1: E_NOT_OK | ||
WriteBlock | SrcPtr | ConstVoidPtr | IN | 0: E_OK 1: E_NOT_OK | ||
WritePRAMBlock | 0: E_OK 1: E_NOT_OK |
Communication Manager, ComM
SenderReceiver
Port Interface | IsService | Type |
---|---|---|
ComM_CurrentChannelRequest_{channel_name} | true P | ComM_UserHandleArrayType_{channel_name} |
ClientServer
Port Interface | IsService | Operation | Argument | Type | Direction | Error |
---|---|---|---|---|---|---|
ComM_ChannelLimitation | true P | GetInhibitionStatus | Status | ComM_InhibitionStatusType | OUT | 0: E_OK 1: E_NOT_OK |
LimitChannelToNoComMode | Status | boolean | IN | 0: E_OK 1: E_NOT_OK | ||
ComM_ChannelWakeup | true P | GetInhibitionStatus | Status | ComM_InhibitionStatusType | OUT | 0: E_OK 1: E_NOT_OK |
PreventWakeUp | Status | boolean | IN | 0: E_OK 1: E_NOT_OK | ||
ComM_ECUModeLimitation | true P | LimitECUToNoComMode | Status | boolean | IN | 0: E_OK 1: E_NOT_OK |
ReadInhibitCounter | CounterValue | uint16 | OUT | 0: E_OK 1: E_NOT_OK | ||
ResetInhibitCounter | 0: E_OK 1: E_NOT_OK | |||||
SetECUGroupClassification | Status | ComM_InhibitionStatusType | IN | 0: E_OK 1: E_NOT_OK | ||
ComM_UserRequest | true P | GetCurrentComMode | ComMode | ComM_ModeType | OUT | 0: E_OK 1: E_NOT_OK |
GetMaxComMode | ComMode | ComM_ModeType | OUT | 0: E_OK 1: E_NOT_OK | ||
GetRequestedComMode | ComMode | ComM_ModeType | OUT | 0: E_OK 1: E_NOT_OK | ||
RequestComMode | ComMode | ComM_ModeType | IN | 0: E_OK 1: E_NOT_OK 2: E_MODE_LIMITATION |