wiki:spec/Dcm
Diagnostic Communication Manager


概要

API ID
[Dec]
ID
[Hex]
R4.2.2 R21-11
Dcm_Init 1 0x01
Dcm_GetVersionInfo 36 0x24
Dcm_DemTriggerOnDTCStatus 43 0x2B
Dcm_GetVin 7 0x07
Dcm_BndMWriteBlockFinish 122 0x7A -
Dcm_SetDeauthenticatedRole 121 0x79 -
Dcm_GetSecurityLevel 13 0x0D
Dcm_GetSesCtrlType 6 0x06
Dcm_GetActiveProtocol 15 0x0F -
Dcm_ResetToDefaultSession 42 0x2A
Dcm_TriggerOnEvent 45 0x2D
Dcm_SetActiveDiagnostic 86 0x56
Dcm_StartOfReception 70 0x46
Dcm_CopyRxData 68 0x44
Dcm_TpRxIndication 69 0x45
Dcm_CopyTxData 67 0x43
Dcm_TpTxConfirmation 72 0x48
Dcm_TxConfirmation 64 0x40
Dcm_ComM_NoComModeEntered 33 0x21
Dcm_ComM_SilentComModeEntered 34 0x22
Dcm_ComM_FullComModeEntered 35 0x23
Dcm_CsmAsyncJobFinished -- -- -
Dcm_KeyMAsyncCertificateVerifyFinished -- -- -
Dcm_ReadMemory 38 0x26
Dcm_WriteMemory 39 0x27
Dcm_SetProgConditions 50
97
0x32
0x61

-
-
Dcm_GetProgConditions 49
98
0x31
0x62

-
-
Dcm_ProcessRequestAddFile 114 0x72 -
Dcm_ProcessRequestDeleteFile 115 0x73 -
Dcm_ProcessRequestReplaceFile 116 0x74 -
Dcm_ProcessRequestReadFile 117 0x75 -
Dcm_ProcessRequestReadDir 118 0x76 -
Dcm_WriteFile -- -- -
Dcm_ReadFileOrDir 120 0x78 -
Dcm_ProcessRequestTransferExit 48
50
0x30
0x32

-
-
Dcm_ProcessRequestUpload 87
49
0x57
0x31

-
-
Dcm_ProcessRequestDownload 37
48
0x25
0x30

-
-
Dcm_ProcessRequestFileTransfer 68 0x44 -
Dcm_ProcessTransferDataRead 38 0x26 -
Dcm_ProcessTransferDataWrite 39 0x27 -
Dcm_MainFunction 69
37
0x45
0x25

-
-
Xxx_GetSeed 89
68
69
0x59
0x44
0x45

-
-
-

Xxx_CompareKey 90
71
0x5A
0x47

-
-
Xxx_GetSecurityAttemptCounter 52
89
0x34
0x59

-
-
Xxx_SetSecurityAttemptCounter 59
90
0x3B
0x5A

-
-
Xxx_ReadData 82
52
59
88
104
105
0x52
0x34
0x3B
0x58
0x68
0x69

-
-
-
-
-
-




Xxx_WriteData 76
81
82
53
62
112
113
0x4C
0x51
0x52
0x35
0x3E
0x70
0x71

-
-
-
-
-
-
-





Xxx_ReadDataLength 55
54
76
0x37
0x36
0x4C

-
-
-

Xxx_ConditionCheckRead 56
73
55
0x38
0x49
0x37

-
-
-

Xxx_GetScalingInformation 77
75
56
114
115
0x4D
0x4B
0x38
0x72
0x73

-
-
-
-
-



Xxx_ReturnControlToECU 60
79
116
0x3C
0x4F
0x74

-
-
-

Xxx_ResetToDefault 58
77
117
60
118
0x3A
0x4D
0x75
0x3C
0x76

-
-
-
-
-



Xxx_FreezeCurrentState 85
74
119
--
120
0x55
0x4A
0x77
--
0x78

-
-
-
-
-



Xxx_ShortTermAdjustment 64
80
121
85
131
0x40
0x50
0x79
0x55
0x83

-
-
-
-
-



Xxx_IsDidAvailable 65
83
0x41
0x53

-
-
Xxx_ReadDidData 94
64
0x5E
0x40

-
-
Xxx_WriteDidData 91
65
0x5B
0x41

-
-
Xxx_ReadDidRangeDataLength 92
94
0x5C
0x5E

-
-
Xxx_GetInfotypeValueData 96 0x60 -
Xxx_Start 93
91
128
0x5D
0x5B
0x80

-
-
-

Xxx_StartConfirmation -- -- -
Xxx_Stop 95
92
129
0x5F
0x5C
0x81

-
-
-

Xxx_StopConfirmation 105 0x69 -
Xxx_RequestResults 50
113
130
0x32
0x71
0x82

-
-
-

Xxx_RequestResultsConfirmation 112 0x70 -
Xxx_RequestControl 99 0x63 -
Xxx_StartProtocol 103 0x67 -
Xxx_StopProtocol 100 0x64 -
Xxx_Indication 101 0x65 -
Xxx_Confirmation 102 0x66 -
Xxx_ClearDTCCheckFnc 51
95
0x33
0x5F

-
-
<Module>_<DiagnosticService> 50 0x32 -
<Module>_<DiagnosticService>_<SubService> 51 0x33 -
  • エラーコード一覧
エラーコード Dec Hex R4.2.2 R21-11
DCM_E_INTERFACE_TIMEOUT 1 0x01
DCM_E_INTERFACE_RETURN_VALUE 2 0x02
DCM_E_INVALID_VALUE 2 0x02 -
DCM_E_INTERFACE_BUFFER_OVERFLOW 3 0x03
DCM_E_UNINIT 5 0x05
DCM_E_PARAM 6 0x06
DCM_E_PARAM_POINTER 7 0x07
DCM_E_INIT_FAILED 8 0x08
DCM_E_SET_PROG_CONDITIONS_FAIL 9 0x09

API仕様

Dcm_Init

void Dcm_Init(const Dcm_ConfigType* ConfigPtr)

Dcm_GetVersionInfo

void Dcm_GetVersionInfo(Std_VersionInfoType* versionInfo)

Dcm_DemTriggerOnDTCStatus

Std_ReturnType Dcm_DemTriggerOnDTCStatus(uint32 DTC, Dem_UdsStatusByteType DTCStatusOld, Dem_UdsStatusByteType DTCStatusNew)

Dcm_GetVin

Std_ReturnType Dcm_GetVin(uint8* Data)

Dcm_BndMWriteBlockFinish

void Dcm_BndMWriteBlockFinish (BndM_BlockIdType BlockId, BndM_ResultType result)

Dcm_SetDeauthenticatedRole

Std_ReturnType Dcm_SetDeauthenticatedRole (uint16 connectionId, Dcm_AuthenticationRoleType deauthenticatedRole)

Dcm_GetSecurityLevel

Std_ReturnType Dcm_GetSecurityLevel(Dcm_SecLevelType* SecLevel)

Dcm_GetSesCtrlType

Std_ReturnType Dcm_GetSesCtrlType(Dcm_SesCtrlType* SesCtrlType)

Dcm_GetActiveProtocol

Std_ReturnType Dcm_GetActiveProtocol(Dcm_ProtocolType* ActiveProtocol)

Dcm_ResetToDefaultSession

Std_ReturnType Dcm_ResetToDefaultSession(void)

Dcm_TriggerOnEvent

Std_ReturnType Dcm_TriggerOnEvent(uint8 RoeEventId)

Dcm_SetActiveDiagnostic

Std_ReturnType Dcm_SetActiveDiagnostic(boolean active)

Dcm_StartOfReception

BufReq_ReturnType Dcm_StartOfReception(PduIdType id, const PduInfoType* info, PduLengthType TpSduLength, PduLengthType* bufferSizePtr)

Dcm_CopyRxData

BufReq_ReturnType Dcm_CopyRxData(PduIdType id, const PduInfoType* info, PduLengthType* bufferSizePtr)

Dcm_TpRxIndication

void Dcm_TpRxIndication(PduIdType id, Std_ReturnType result)

Dcm_CopyTxData

  • R4.2.2
    BufReq_ReturnType Dcm_CopyTxData(PduIdType id, const PduInfoType* info, RetryInfoType* retry, PduLengthType* availableDataPtr)
    
  • R21-11
    BufReq_ReturnType Dcm_CopyTxData (PduIdType id, const PduInfoType* info, const RetryInfoType* retry, PduLengthType* availableDataPtr)
    

Dcm_TpTxConfirmation

void Dcm_TpTxConfirmation(PduIdType id, Std_ReturnType result)

Dcm_TxConfirmation

  • R4.2.2
    void Dcm_TxConfirmation(PduIdType TxPduId)
    
  • R21-11
    void Dcm_TxConfirmation (PduIdType TxPduId, Std_ReturnType result)
    

Dcm_ComM_NoComModeEntered

void Dcm_ComM_NoComModeEntered(uint8 NetworkId)

Dcm_ComM_SilentComModeEntered

void Dcm_ComM_SilentComModeEntered(uint8 NetworkId)

Dcm_ComM_FullComModeEntered

void Dcm_ComM_FullComModeEntered(uint8 NetworkId)

Dcm_CsmAsyncJobFinished

Std_ReturnType Dcm_CsmAsyncJobFinished (Csm_ResultType result)

Dcm_KeyMAsyncCertificateVerifyFinished

Std_ReturnType Dcm_KeyMAsyncCertificateVerifyFinished (KeyM_CertificateIdType CertID, KeyM_CertificateStatusType Result)

Dcm_ReadMemory

Dcm_ReturnReadMemoryType Dcm_ReadMemory(Dcm_OpStatusType OpStatus, uint8 MemoryIdentifier, uint32 MemoryAddress, uint32 MemorySize, uint8* MemoryData, Dcm_NegativeResponseCodeType* ErrorCode)

Dcm_WriteMemory

  • R4.2.2
    Dcm_ReturnWriteMemoryType Dcm_WriteMemory(Dcm_OpStatusType OpStatus, uint8 MemoryIdentifier, uint32 MemoryAddress, uint32 MemorySize, uint8* MemoryData, Dcm_NegativeResponseCodeType* ErrorCode)
    
  • R21-11
    Dcm_ReturnWriteMemoryType Dcm_WriteMemory (Dcm_OpStatusType OpStatus, uint8 MemoryIdentifier, uint32 MemoryAddress, uint32 MemorySize, const uint8* MemoryData, Dcm_NegativeResponseCodeType* ErrorCode)
    

Dcm_SetProgConditions

  • R4.2.2
    Std_ReturnType Dcm_SetProgConditions(Dcm_OpStatusType OpStatus, Dcm_ProgConditionsType * ProgConditions)
    
  • R21-11
    Std_ReturnType Dcm_SetProgConditions (Dcm_OpStatusType OpStatus, const Dcm_ProgConditionsType* ProgConditions)
    

Dcm_GetProgConditions

Dcm_EcuStartModeType Dcm_GetProgConditions(Dcm_ProgConditionsType * ProgConditions)

Dcm_ProcessRequestAddFile

Std_ReturnType Dcm_ProcessRequestAddFile (Dcm_OpStatusType OpStatus, uint16 filePathAndNameLength, const uint8* filePathAndName, uint8 dataFormatIdentifier, uint64 fileSizeUncompressed, uint64 fileSizeCompressed, uint64* maxNumberOfBlockLength, Dcm_NegativeResponseCodeType* ErrorCode)

Dcm_ProcessRequestDeleteFile

Std_ReturnType Dcm_ProcessRequestDeleteFile (Dcm_OpStatusType OpStatus, uint16 filePathAndNameLength, const uint8* filePathAndName, Dcm_NegativeResponseCodeType* ErrorCode)

Dcm_ProcessRequestReplaceFile

Std_ReturnType Dcm_ProcessRequestReplaceFile (Dcm_OpStatusType OpStatus, uint16 filePathAndNameLength, const uint8* filePathAndName, uint8 dataFormatIdentifier, uint64 fileSizeUncompressed, uint64 fileSizeCompressed, uint64* maxNumberOfBlockLength, Dcm_NegativeResponseCodeType* ErrorCode)

Dcm_ProcessRequestReadFile

Std_ReturnType Dcm_ProcessRequestReadFile (Dcm_OpStatusType OpStatus, uint16 filePathAndNameLength, const uint8* filePathAndName, uint8 dataFormatIdentifier, uint64 fileSizeUncompressed, uint64 fileSizeCompressed, uint64* maxNumberOfBlockLength, Dcm_NegativeResponseCodeType* ErrorCode)

Dcm_ProcessRequestReadDir

Std_ReturnType Dcm_ProcessRequestReadDir (Dcm_OpStatusType OpStatus, uint16 filePathAndNameLength, const uint8* filePathAndName, uint64* dirInfoLength, uint64* maxNumberOfBlockLength, Dcm_NegativeResponseCodeType* ErrorCode)

Dcm_WriteFile

Std_ReturnType Dcm_WriteFile (Dcm_OpStatusType OpStatus, uint64 DataLength, uint8* Data, Dcm_NegativeResponseCodeType* ErrorCode)

Dcm_ReadFileOrDir

Std_ReturnType Dcm_ReadFileOrDir (Dcm_OpStatusType OpStatus, uint64* DataLength, uint8* Data, Dcm_NegativeResponseCodeType* ErrorCode)

Dcm_ProcessRequestTransferExit

  • R4.2.2
    Std_ReturnType Dcm_ProcessRequestTransferExit(Dcm_OpStatusType OpStatus, uint8* transferRequestParameterRecord, uint32 transferRequestParameterRecordSize, uint8* transferResponseParameterRecord, uint32* transferResponseParameterRecordSize, Dcm_NegativeResponseCodeType* ErrorCode)
    
  • R21-11
    Std_ReturnType Dcm_ProcessRequestTransferExit (Dcm_OpStatusType OpStatus, const uint8* transferRequestParameterRecord, uint32 transferRequestParameterRecordSize, const uint8* transferResponseParameterRecord, uint32* transferResponseParameterRecordSize, Dcm_NegativeResponseCodeType* ErrorCode)
    

Dcm_ProcessRequestUpload

  • R4.2.2
    Std_ReturnType Dcm_ProcessRequestUpload(Dcm_OpStatusType OpStatus, uint8 DataFormatIdentifier, uint32 MemoryAddress, uint32 MemorySize, uint32* BlockLength, Dcm_NegativeResponseCodeType* ErrorCode)
    
  • R21-11
    Std_ReturnType Dcm_ProcessRequestUpload (Dcm_OpStatusType OpStatus, uint8 DataFormatIdentifier, uint8 MemoryIdentifier, uint32 MemoryAddress, uint32 MemorySize, uint32* BlockLength, Dcm_NegativeResponseCodeType* ErrorCode)
    

Dcm_ProcessRequestDownload

  • R4.2.2
    Std_ReturnType Dcm_ProcessRequestDownload(Dcm_OpStatusType OpStatus, uint8 DataFormatIdentifier, uint32 MemoryAddress, uint32 MemorySize, uint32* BlockLength, Dcm_NegativeResponseCodeType* ErrorCode)
    
  • R21-11
    Std_ReturnType Dcm_ProcessRequestDownload (Dcm_OpStatusType OpStatus, uint8 DataFormatIdentifier, uint8 MemoryIdentifier, uint32 MemoryAddress, uint32 MemorySize, uint32* BlockLength, Dcm_NegativeResponseCodeType* ErrorCode)
    

Dcm_ProcessRequestFileTransfer

Std_ReturnType Dcm_ProcessRequestFileTransfer(Dcm_OpStatusType OpStatus, uint8 modeofOperation, uint16 fileSizeParameterLength, uint8* filePathAndName, uint8 dataFormatIdentifier, uint8* fileSizeUncompressedOrDirInfoLength, uint8* fileSizeCompressed, uint32* BlockLength, Dcm_NegativeResponseCodeType* ErrorCode)

Dcm_ProcessTransferDataRead

Dcm_ReturnReadMemoryType Dcm_ProcessTransferDataRead (Dcm_OpStatusType OpStatus, uint8 MemoryIdentifier, uint32 MemoryAddress, uint32 MemorySize, Dcm_RequestDataArrayType MemoryData, Dcm_NegativeResponseCodeType* ErrorCode)

Dcm_ProcessTransferDataWrite

Dcm_ReturnWriteMemoryType Dcm_ProcessTransferDataWrite (Dcm_OpStatusType OpStatus, uint8 MemoryIdentifier, uint32 MemoryAddress, uint32 MemorySize, const Dcm_RequestDataArrayType MemoryData, Dcm_NegativeResponseCodeType* ErrorCode)

Dcm_MainFunction

void Dcm_MainFunction(void)

Xxx_GetSeed

  • R4.2.2
    Std_ReturnType Xxx_GetSeed(Dcm_OpStatusType OpStatus, uint8* Seed, Dcm_NegativeResponseCodeType* ErrorCode)
    
  • R21-11
    Std_ReturnType Xxx_GetSeed (const uint8* SecurityAccessDataRecord, Dcm_OpStatusType OpStatus, uint8* Seed, Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_GetSeed(Dcm_OpStatusType OpStatus, uint8* Seed, Dcm_NegativeResponseCodeType* ErrorCode)
    

Xxx_CompareKey

Std_ReturnType Xxx_CompareKey(const uint8* Key, Dcm_OpStatusType OpStatus, Dcm_NegativeResponseCodeType* ErrorCode)

Xxx_GetSecurityAttemptCounter

Std_ReturnType Xxx_GetSecurityAttemptCounter(Dcm_OpStatusType OpStatus, uint8* AttemptCounter)

Xxx_SetSecurityAttemptCounter

Std_ReturnType Xxx_SetSecurityAttemptCounter(Dcm_OpStatusType OpStatus, uint8 AttemptCounter)

Xxx_ReadData

  • R4.2.2
    Std_ReturnType Xxx_ReadData(Dcm_OpStatusType OpStatus, uint8* Data, Dcm_NegativeResponseCodeType* ErrorCode)
    
  • R21-11
    Std_ReturnType Xxx_ReadData (uint8* Data)
    Std_ReturnType Xxx_ReadData (Dcm_OpStatusType OpStatus, uint8* Data)
    Std_ReturnType Xxx_ReadData(Dcm_OpStatusType OpStatus, uint8* Data, Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_ReadData (uint8* Data, uint16 DataLength, Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_ReadData (Dcm_OpStatusType OpStatus, uint8* Data, uint16 DataLength, Dcm_NegativeResponseCodeType* ErrorCode)
    

Xxx_WriteData

  • R4.2.2
    Std_ReturnType Xxx_WriteData(uint8* Data, uint16 DataLength, Dcm_OpStatusType OpStatus, Dcm_NegativeResponseCodeType* ErrorCode)
    
  • R21-11
    Std_ReturnType Xxx_WriteData (const uint8* Data, Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_WriteData (const uint8* Data, uint16 DataLength, Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_WriteData (const uint8* Data, Dcm_OpStatusType OpStatus, Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_WriteData (const uint8* Data, uint16 DataLength, Dcm_OpStatusType OpStatus, Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_WriteData (const uint8* Data, uint16 DataLength, Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_WriteData (const uint8* Data, uint16 DataLength, Dcm_OpStatusType OpStatus, Dcm_NegativeResponseCodeType* ErrorCode)
    

Xxx_ReadDataLength

  • R4.2.2
    Std_ReturnType Xxx_ReadDataLength(Dcm_OpStatusType OpStatus, uint16* DataLength)
    
  • R21-11
    Std_ReturnType Xxx_ReadDataLength (uint16* DataLength)
    Std_ReturnType Xxx_ReadDataLength(Dcm_OpStatusType OpStatus, uint16* DataLength)
    

Xxx_ConditionCheckRead

  • R4.2.2
    Std_ReturnType Xxx_ConditionCheckRead(Dcm_OpStatusType OpStatus, Dcm_NegativeResponseCodeType* ErrorCode)
    
  • R21-11
    Std_ReturnType Xxx_ConditionCheckRead (Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_ConditionCheckRead (Dcm_OpStatusType OpStatus, Dcm_NegativeResponseCodeType* ErrorCode)
    

Xxx_GetScalingInformation

  • R4.2.2
    Std_ReturnType Xxx_GetScalingInformation(Dcm_OpStatusType OpStatus, uint8* ScalingInfo, Dcm_NegativeResponseCodeType* ErrorCode)
    
  • R21-11
    Std_ReturnType Xxx_GetScalingInformation (uint8* ScalingInfo, Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_GetScalingInformation(Dcm_OpStatusType OpStatus, uint8* ScalingInfo, Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_GetScalingInformation (uint8* ScalingInfo, uint8 ScalingInfoLength, Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_GetScalingInformation (Dcm_OpStatusType OpStatus, uint8* ScalingInfo, uint8 ScalingInfoLength, Dcm_NegativeResponseCodeType* ErrorCode)
    

Xxx_ReturnControlToECU

  • R4.2.2
    Std_ReturnType Xxx_ReturnControlToECU([Dcm_ControlMask_{Data} controlMask,] Dcm_NegativeResponseCodeType* ErrorCode)
    
  • R21-11
    Std_ReturnType Xxx_ReturnControlToECU ([Dcm_ControlMask_{DID}Type controlMask], [uint8* controlMask], Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_ReturnControlToECU (uint8* controlMask, uint8 controlMaskLength, Dcm_NegativeResponseCodeType ErrorCode)
    

Xxx_ResetToDefault

  • R4.2.2
    Std_ReturnType Xxx_ResetToDefault(Dcm_OpStatusType OpStatus, [Dcm_ControlMask_{Data} controlMask,] Dcm_NegativeResponseCodeType* ErrorCode)
    
  • R21-11
    Std_ReturnType Xxx_ResetToDefault ([Dcm_ControlMask_{DID}Type controlMask], [uint8* controlMask], Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_ResetToDefault (uint8* controlMask, uint8 controlMaskLength, Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_ResetToDefault (Dcm_OpStatusType OpStatus, [Dcm_ControlMask_{DID}Type controlMask], [uint8* controlMask], Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_ResetToDefault (Dcm_OpStatusType OpStatus, uint8* controlMask, uint8 controlMaskLength, Dcm_NegativeResponseCodeType* ErrorCode)
    

Xxx_FreezeCurrentState

  • R4.2.2
    Std_ReturnType Xxx_FreezeCurrentState(Dcm_OpStatusType OpStatus, [Dcm_ControlMask_{Data} controlMask,] Dcm_NegativeResponseCodeType* ErrorCode)
    
  • R21-11
    Std_ReturnType Xxx_FreezeCurrentState ([Dcm_ControlMask_{DID}Type controlMask], [uint8* controlMask], Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_FreezeCurrentState (uint8* controlMask, uint8 controlMaskLength, Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_FreezeCurrentState (Dcm_OpStatusType OpStatus, [Dcm_ControlMask_{DID}Type controlMask], [uint8* controlMask], Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_FreezeCurrentState (Dcm_OpStatusType OpStatus, uint8* controlMask, uint8 controlMaskLength, Dcm_NegativeResponseCodeType* ErrorCode)
    

Xxx_ShortTermAdjustment

  • R4.2.2
    Std_ReturnType Xxx_ShortTermAdjustment(uint8* ControlStateInfo, uint16 DataLength, Dcm_OpStatusType OpStatus, [Dcm_ControlMask_{Data} controlMask,] Dcm_NegativeResponseCodeType* ErrorCode)
    
  • R21-11
    Std_ReturnType Xxx_ShortTermAdjustment (const uint8* ControlStateInfo, [Dcm_ControlMask_{DID}Type controlMask], [uint8* controlMask], Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_ShortTermAdjustment (const uint8* ControlStateInfo, uint16 DataLength, uint8* controlMask, uint8 controlMaskLength, Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_ShortTermAdjustment (const uint8* ControlStateInfo, uint16 DataLength, Dcm_OpStatusType OpStatus, [Dcm_ControlMask_{DID}Type controlMask], [uint8* controlMask], Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_ShortTermAdjustment (const uint8* ControlStateInfo, uint16 DataLength, Dcm_OpStatusType OpStatus, uint8* controlMask, uint8 controlMaskLength, Dcm_NegativeResponseCodeType* ErrorCode)
    

Xxx_IsDidAvailable

Std_ReturnType Xxx_IsDidAvailable(uint16 DID, Dcm_OpStatusType OpStatus, Dcm_DidSupportedType* supported)

Xxx_ReadDidData

Std_ReturnType Xxx_ReadDidData(uint16 DID, uint8* Data, Dcm_OpStatusType OpStatus, uint16 DataLength, Dcm_NegativeResponseCodeType ErrorCode)

Xxx_WriteDidData

  • R4.2.2
    Std_ReturnType Xxx_WriteDidData(uint16 DID, uint8* Data, Dcm_OpStatusType OpStatus, uint16 DataLength, Dcm_NegativeResponseCodeType ErrorCode)
    
  • R21-11
    Std_ReturnType Xxx_WriteDidData (uint16 DID, const uint8* Data, Dcm_OpStatusType OpStatus, uint16 DataLength, Dcm_NegativeResponseCodeType ErrorCode)
    

Xxx_ReadDidRangeDataLength

Std_ReturnType Xxx_ReadDidRangeDataLength(uint16 DID, Dcm_OpStatusType OpStatus, uint16* DataLength)

Xxx_GetInfotypeValueData

Std_ReturnType Xxx_GetInfotypeValueData (Dcm_OpStatusType OpStatus, uint8* DataValueBuffer, uint8* DataValueBufferSize)

Xxx_Start

  • R4.2.2
    Std_ReturnType Xxx_Start([DcmDspRoutineSignalType dataIn_1,] ... [DcmDspRoutineSignalType dataIn_n,] [const uint8* dataInVar,] Dcm_OpStatusType OpStatus, [DcmDspRoutineSignalType dataOut_1,] ... [DcmDspRoutineSignalType dataOut_n,] [uint8* dataOutVar,] [uint16 currentLengthDataInVar,] [uint16* currentLengthDataOutVar,] Dcm_NegativeResponseCodeType ErrorCode)
    
  • R21-11
    Std_ReturnType Xxx_Start ([DcmDspRoutineSignalType dataIn_1, ... DcmDspRoutineSignalType dataIn_n], [const uint8* dataInVar], Dcm_OpStatusType OpStatus, [DcmDspRoutineSignalType dataOut_1, ... DcmDspRoutineSignalType dataOut_n], [uint8* dataOutVar], [uint16* currentDataLength], Dcm_NegativeResponseCodeType ErrorCode)
    Std_ReturnType Xxx_Start (Dcm_OpStatusType OpStatus, uint8* dataInOut, uint16* currentDataLength, Dcm_NegativeResponseCodeType* ErrorCode)
    

Xxx_StartConfirmation

Std_ReturnType Xxx_StartConfirmation (Dcm_ConfirmationStatusType ConfirmationStatus)

Xxx_Stop

  • R4.2.2
    Std_ReturnType Xxx_Stop([DcmDspRoutineSignalType dataIn_1,] ... [DcmDspRoutineSignalType dataIn_n,] [const uint8* dataInVar,] [DcmDspRoutineSignalType dataOut_1,] ... [DcmDspRoutineSignalType dataOut_n,] [uint8* dataOutVar,] [uint16 currentLengthDataInVar,] [uint16* currentLengthDataOutVar,] Dcm_NegativeResponseCodeType* ErrorCode)
    
  • R21-11
    Std_ReturnType Xxx_Stop ([DcmDspRoutineSignalType dataIn_1, ... DcmDspRoutineSignalType dataIn_n], [const uint8* dataInVar], [DcmDspRoutineSignalType dataOut_1, ... DcmDspRoutineSignalType dataOut_n], [uint8* dataOutVar], [uint16* currentDataLength], Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_Stop (Dcm_OpStatusType OpStatus, uint8* dataInOut, uint16* currentDataLength, Dcm_NegativeResponseCodeType* ErrorCode)
    

Xxx_StopConfirmation

Std_ReturnType Xxx_StopConfirmation (Dcm_ConfirmationStatusType ConfirmationStatus)

Xxx_RequestResults

  • R4.2.2
    Std_ReturnType Xxx_RequestResults(Dcm_OpStatusType OpStatus, [DcmDspRoutineSignalType* dataOut_1,] ... [DcmDspRoutineSignalType* dataOut_n,] [uint8* dataOutVar,] [uint16* currentLengthDataOutVar,] Dcm_NegativeResponseCodeType* ErrorCode)
    
  • R21-11
    Std_ReturnType Xxx_RequestResults (Dcm_OpStatusType OpStatus, [DcmDspRoutineSignalType* dataIn_1, ... DcmDspRoutineSignalType* dataIn_n], [const uint8* dataInVar], [DcmDspRoutineSignalType* dataOut_1, ... DcmDspRoutineSignalType* dataOut_n], [uint8* dataOutVar], [uint16* variableDataLength], Dcm_NegativeResponseCodeType* ErrorCode)
    Std_ReturnType Xxx_RequestResults (Dcm_OpStatusType OpStatus, uint8* dataInOut, uint16* currentDataLength, Dcm_NegativeResponseCodeType* ErrorCode)
    

Xxx_RequestResultsConfirmation

Std_ReturnType Xxx_RequestResultsConfirmation (Dcm_ConfirmationStatusType ConfirmationStatus)

Xxx_RequestControl

Std_ReturnType Xxx_RequestControl (uint8* OutBuffer, const uint8* InBuffer)

Xxx_StartProtocol

Std_ReturnType Xxx_StartProtocol (Dcm_ProtocolType ProtocolType, uint16 TesterSourceAddress, uint16 ConnectionId)

Xxx_StopProtocol

Std_ReturnType Xxx_StopProtocol (Dcm_ProtocolType ProtocolType, uint16 TesterSourceAddress, uint16 ConnectionId)

Xxx_Indication

Std_ReturnType Xxx_Indication (uint8 SID, const uint8* RequestData, uint32 DataSize, uint8 ReqType, uint16 ConnectionId, Dcm_NegativeResponseCodeType* ErrorCode, Dcm_ProtocolType ProtocolType, uint16 TesterSourceAddress)

Xxx_Confirmation

Std_ReturnType Xxx_Confirmation (uint8 SID, uint8 ReqType, uint16 ConnectionId, Dcm_ConfirmationStatusType ConfirmationStatus, Dcm_ProtocolType ProtocolType, uint16 TesterSourceAddress)

Xxx_ClearDTCCheckFnc

Std_ReturnType Xxx_ClearDTCCheckFnc(uint32 GoDTC, Dcm_NegativeResponseCodeType* ErrorCode)

<Module>_<DiagnosticService>

Std_ReturnType <Module>_<DiagnosticService> (Dcm_ExtendedOpStatusType OpStatus, Dcm_MsgContextType* pMsgContext, Dcm_NegativeResponseCodeType* ErrorCode)

<Module>_<DiagnosticService>_<SubService>

Std_ReturnType <Module>_<DiagnosticService>_<SubService> (Dcm_ExtendedOpStatusType OpStatus, Dcm_MsgContextType* pMsgContext, Dcm_NegativeResponseCodeType* ErrorCode)

コンフィギュレーション仕様

Last modified 17 months ago Last modified on Dec 8, 2022, 10:07:10 AM
Note: See TracWiki for help on using the wiki.