{{{ #!html
Diagnostic Communication Manager
}}} [[BR]] = 概要 = * DiagnosticCommunication(診断)に関する解説サイト * [https://cdn.vector.com/cms/content/know-how/VJ/PDF/For_Beginners_Diagnostic_Communication.pdf はじめての診断(ベクター・ジャパン株式会社)] * API一覧 ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =||= R4.2.2 =||= R21-11 =|| || [#Dcm_Init Dcm_Init] || 1|| 0x01|| ○ || ○ || || [#Dcm_GetVersionInfo Dcm_GetVersionInfo] || 36|| 0x24|| ○ || ○ || || [#Dcm_DemTriggerOnDTCStatus Dcm_DemTriggerOnDTCStatus] || 43|| 0x2B|| ○ || ○ || || [#Dcm_GetVin Dcm_GetVin] || 7|| 0x07|| ○ || ○ || || [#Dcm_BndMWriteBlockFinish Dcm_BndMWriteBlockFinish] || 122|| 0x7A|| - || ○ || || [#Dcm_SetDeauthenticatedRole Dcm_SetDeauthenticatedRole] || 121|| 0x79|| - || ○ || || [#Dcm_GetSecurityLevel Dcm_GetSecurityLevel] || 13|| 0x0D|| ○ || ○ || || [#Dcm_GetSesCtrlType Dcm_GetSesCtrlType] || 6|| 0x06|| ○ || ○ || || [#Dcm_GetActiveProtocol Dcm_GetActiveProtocol] || 15|| 0x0F|| ○ || - || || [#Dcm_ResetToDefaultSession Dcm_ResetToDefaultSession] || 42|| 0x2A|| ○ || ○ || || [#Dcm_TriggerOnEvent Dcm_TriggerOnEvent] || 45|| 0x2D|| ○ || ○ || || [#Dcm_SetActiveDiagnostic Dcm_SetActiveDiagnostic] || 86|| 0x56|| ○ || ○ || || [#Dcm_StartOfReception Dcm_StartOfReception] || 70|| 0x46|| ○ || ○ || || [#Dcm_CopyRxData Dcm_CopyRxData] || 68|| 0x44|| ○ || ○ || || [#Dcm_TpRxIndication Dcm_TpRxIndication] || 69|| 0x45|| ○ || ○ || || [#Dcm_CopyTxData Dcm_CopyTxData] || 67|| 0x43|| ○ || ○ || || [#Dcm_TpTxConfirmation Dcm_TpTxConfirmation] || 72|| 0x48|| ○ || ○ || || [#Dcm_TxConfirmation Dcm_TxConfirmation] || 64|| 0x40|| ○ || ○ || || [#Dcm_ComM_NoComModeEntered Dcm_ComM_NoComModeEntered] || 33|| 0x21|| ○ || ○ || || [#Dcm_ComM_SilentComModeEntered Dcm_ComM_SilentComModeEntered] || 34|| 0x22|| ○ || ○ || || [#Dcm_ComM_FullComModeEntered Dcm_ComM_FullComModeEntered] || 35|| 0x23|| ○ || ○ || || [#Dcm_CsmAsyncJobFinished Dcm_CsmAsyncJobFinished] || --|| --|| - || ○ || || [#Dcm_KeyMAsyncCertificateVerifyFinished Dcm_KeyMAsyncCertificateVerifyFinished] || --|| --|| - || ○ || || [#Dcm_ReadMemory Dcm_ReadMemory] || 38|| 0x26|| ○ || ○ || || [#Dcm_WriteMemory Dcm_WriteMemory] || 39|| 0x27|| ○ || ○ || || [#Dcm_SetProgConditions Dcm_SetProgConditions] || 50[[BR]]97|| 0x32[[BR]]0x61|| ○[[BR]]- || -[[BR]]○ || || [#Dcm_GetProgConditions Dcm_GetProgConditions] || 49[[BR]]98|| 0x31[[BR]]0x62|| ○[[BR]]- || -[[BR]]○ || || [#Dcm_ProcessRequestAddFile Dcm_ProcessRequestAddFile] || 114|| 0x72|| - || ○ || || [#Dcm_ProcessRequestDeleteFile Dcm_ProcessRequestDeleteFile] || 115|| 0x73|| - || ○ || || [#Dcm_ProcessRequestReplaceFile Dcm_ProcessRequestReplaceFile] || 116|| 0x74|| - || ○ || || [#Dcm_ProcessRequestReadFile Dcm_ProcessRequestReadFile] || 117|| 0x75|| - || ○ || || [#Dcm_ProcessRequestReadDir Dcm_ProcessRequestReadDir] || 118|| 0x76|| - || ○ || || [#Dcm_WriteFile Dcm_WriteFile] || --|| --|| - || ○ || || [#Dcm_ReadFileOrDir Dcm_ReadFileOrDir] || 120|| 0x78|| - || ○ || || [#Dcm_ProcessRequestTransferExit Dcm_ProcessRequestTransferExit] || 48[[BR]]50|| 0x30[[BR]]0x32|| ○[[BR]]- || -[[BR]]○ || || [#Dcm_ProcessRequestUpload Dcm_ProcessRequestUpload] || 87[[BR]]49|| 0x57[[BR]]0x31|| ○[[BR]]- || -[[BR]]○ || || [#Dcm_ProcessRequestDownload Dcm_ProcessRequestDownload] || 37[[BR]]48|| 0x25[[BR]]0x30|| ○[[BR]]- || -[[BR]]○ || || [#Dcm_ProcessRequestFileTransfer Dcm_ProcessRequestFileTransfer] || 68|| 0x44|| ○ || - || || [#Dcm_ProcessTransferDataRead Dcm_ProcessTransferDataRead] || 38|| 0x26|| - || ○ || || [#Dcm_ProcessTransferDataWrite Dcm_ProcessTransferDataWrite] || 39|| 0x27|| - || ○ || || [#Dcm_MainFunction Dcm_MainFunction] || 69[[BR]]37|| 0x45[[BR]]0x25|| ○[[BR]]- || -[[BR]]○ || || [#Xxx_GetSeed Xxx_GetSeed] || 89[[BR]]68[[BR]]69|| 0x59[[BR]]0x44[[BR]]0x45|| ○[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○ || || [#Xxx_CompareKey Xxx_CompareKey] || 90[[BR]]71|| 0x5A[[BR]]0x47|| ○[[BR]]- || -[[BR]]○ || || [#Xxx_GetSecurityAttemptCounter Xxx_GetSecurityAttemptCounter] || 52[[BR]]89|| 0x34[[BR]]0x59|| ○[[BR]]- || -[[BR]]○ || || [#Xxx_SetSecurityAttemptCounter Xxx_SetSecurityAttemptCounter] || 59[[BR]]90|| 0x3B[[BR]]0x5A|| ○[[BR]]- || -[[BR]]○ || || [#Xxx_ReadData Xxx_ReadData] || 82[[BR]]52[[BR]]59[[BR]]88[[BR]]104[[BR]]105|| 0x52[[BR]]0x34[[BR]]0x3B[[BR]]0x58[[BR]]0x68[[BR]]0x69|| ○[[BR]]-[[BR]]-[[BR]]-[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○[[BR]]○[[BR]]○[[BR]]○ || || [#Xxx_WriteData Xxx_WriteData] || 76[[BR]]81[[BR]]82[[BR]]53[[BR]]62[[BR]]112[[BR]]113|| 0x4C[[BR]]0x51[[BR]]0x52[[BR]]0x35[[BR]]0x3E[[BR]]0x70[[BR]]0x71|| ○[[BR]]-[[BR]]-[[BR]]-[[BR]]-[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○[[BR]]○[[BR]]○[[BR]]○[[BR]]○ || || [#Xxx_ReadDataLength Xxx_ReadDataLength] || 55[[BR]]54[[BR]]76|| 0x37[[BR]]0x36[[BR]]0x4C|| ○[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○ || || [#Xxx_ConditionCheckRead Xxx_ConditionCheckRead] || 56[[BR]]73[[BR]]55|| 0x38[[BR]]0x49[[BR]]0x37|| ○[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○ || || [#Xxx_GetScalingInformation Xxx_GetScalingInformation] || 77[[BR]]75[[BR]]56[[BR]]114[[BR]]115|| 0x4D[[BR]]0x4B[[BR]]0x38[[BR]]0x72[[BR]]0x73|| ○[[BR]]-[[BR]]-[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○[[BR]]○[[BR]]○ || || [#Xxx_ReturnControlToECU Xxx_ReturnControlToECU] || 60[[BR]]79[[BR]]116|| 0x3C[[BR]]0x4F[[BR]]0x74|| ○[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○ || || [#Xxx_ResetToDefault Xxx_ResetToDefault] || 58[[BR]]77[[BR]]117[[BR]]60[[BR]]118|| 0x3A[[BR]]0x4D[[BR]]0x75[[BR]]0x3C[[BR]]0x76|| ○[[BR]]-[[BR]]-[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○[[BR]]○[[BR]]○ || || [#Xxx_FreezeCurrentState Xxx_FreezeCurrentState] || 85[[BR]]74[[BR]]119[[BR]]--[[BR]]120|| 0x55[[BR]]0x4A[[BR]]0x77[[BR]]--[[BR]]0x78|| ○[[BR]]-[[BR]]-[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○[[BR]]○[[BR]]○ || || [#Xxx_ShortTermAdjustment Xxx_ShortTermAdjustment] || 64[[BR]]80[[BR]]121[[BR]]85[[BR]]131|| 0x40[[BR]]0x50[[BR]]0x79[[BR]]0x55[[BR]]0x83|| ○[[BR]]-[[BR]]-[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○[[BR]]○[[BR]]○ || || [#Xxx_IsDidAvailable Xxx_IsDidAvailable] || 65[[BR]]83|| 0x41[[BR]]0x53|| ○[[BR]]- || -[[BR]]○ || || [#Xxx_ReadDidData Xxx_ReadDidData] || 94[[BR]]64|| 0x5E[[BR]]0x40|| ○[[BR]]- || -[[BR]]○ || || [#Xxx_WriteDidData Xxx_WriteDidData] || 91[[BR]]65|| 0x5B[[BR]]0x41|| ○[[BR]]- || -[[BR]]○ || || [#Xxx_ReadDidRangeDataLength Xxx_ReadDidRangeDataLength] || 92[[BR]]94|| 0x5C[[BR]]0x5E|| ○[[BR]]- || -[[BR]]○ || || [#Xxx_GetInfotypeValueData Xxx_GetInfotypeValueData] || 96|| 0x60|| - || ○ || || [#Xxx_Start Xxx_Start] || 93[[BR]]91[[BR]]128|| 0x5D[[BR]]0x5B[[BR]]0x80|| ○[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○ || || [#Xxx_StartConfirmation Xxx_StartConfirmation] || --|| --|| - || ○ || || [#Xxx_Stop Xxx_Stop] || 95[[BR]]92[[BR]]129|| 0x5F[[BR]]0x5C[[BR]]0x81|| ○[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○ || || [#Xxx_StopConfirmation Xxx_StopConfirmation] || 105|| 0x69|| - || ○ || || [#Xxx_RequestResults Xxx_RequestResults] || 50[[BR]]113[[BR]]130|| 0x32[[BR]]0x71[[BR]]0x82|| ○[[BR]]-[[BR]]- || -[[BR]]○[[BR]]○ || || [#Xxx_RequestResultsConfirmation Xxx_RequestResultsConfirmation] || 112|| 0x70|| - || ○ || || [#Xxx_RequestControl Xxx_RequestControl] || 99|| 0x63|| - || ○ || || [#Xxx_StartProtocol Xxx_StartProtocol] || 103|| 0x67|| - || ○ || || [#Xxx_StopProtocol Xxx_StopProtocol] || 100|| 0x64|| - || ○ || || [#Xxx_Indication Xxx_Indication] || 101|| 0x65|| - || ○ || || [#Xxx_Confirmation Xxx_Confirmation] || 102|| 0x66|| - || ○ || || [#Xxx_ClearDTCCheckFnc Xxx_ClearDTCCheckFnc] || 51[[BR]]95|| 0x33[[BR]]0x5F|| ○[[BR]]- || -[[BR]]○ || || [#Module_DiagnosticService _] || 50|| 0x32|| - || ○ || || [#Module_DiagnosticService_SubService __] || 51|| 0x33|| - || ○ || * コンフィギュレーション一覧 * [wiki:Dcm/r422 R4.2.2] * [wiki:Dcm/r2111 R21-11] * エラーコード一覧 ||= エラーコード =||= 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) }}} == _ == {{{ Std_ReturnType _ (Dcm_ExtendedOpStatusType OpStatus, Dcm_MsgContextType* pMsgContext, Dcm_NegativeResponseCodeType* ErrorCode) }}} == __ == {{{ Std_ReturnType __ (Dcm_ExtendedOpStatusType OpStatus, Dcm_MsgContextType* pMsgContext, Dcm_NegativeResponseCodeType* ErrorCode) }}} ---- = コンフィギュレーション仕様 = * [wiki:Dcm/r422#コンフィギュレーション仕様 R4.2.2] * [wiki:Dcm/r2111#コンフィギュレーション仕様 R21-11]