Logo
中文版
详情联系: neusar-support@reachauto.com
DiagnosticErrorTypes
DiagnosticErrorTypes 的协作图:

class  ara::diag::DiagException
 Exception type thrown by Diag classes. 更多...
 
class  ara::diag::DiagErrorDomain
 Error domain for diagnostic errors. 更多...
 
class  ara::diag::DiagOfferErrorDomain
 Error domain for diagnostic offer errors. 更多...
 
class  ara::diag::DiagReportingErrorDomain
 Error domain for diagnostic reporting errors. 更多...
 
class  ara::diag::DiagUdsNrcException
 Exception type thrown by Diag classes. 更多...
 
class  ara::diag::DiagUdsNrcErrorDomain
 Error domain for errors originating from several diagnostic classes. 更多...
 

枚举

enum  ara::diag::DiagErrc : ara::core::ErrorDomain::CodeType {
  ara::diag::DiagErrc::kAlreadyOffered = 101, ara::diag::DiagErrc::kConfigurationMismatch = 102, ara::diag::DiagErrc::kDebouncingConfigurationInconsistent = 103, ara::diag::DiagErrc::kReportIgnored = 104,
  ara::diag::DiagErrc::kInvalidArgument = 105, ara::diag::DiagErrc::kNotOffered = 106, ara::diag::DiagErrc::kGenericError = 107, ara::diag::DiagErrc::kNoSuchDTC = 108,
  ara::diag::DiagErrc::kBusy = 109, ara::diag::DiagErrc::kFailed = 110, ara::diag::DiagErrc::kMemoryError = 111, ara::diag::DiagErrc::kWrongDtc = 112,
  ara::diag::DiagErrc::kRejected = 113, ara::diag::DiagErrc::kResetTypeNotSupported = 114, ara::diag::DiagErrc::kRequestFailed = 115, ara::diag::DiagErrc::kCustomResetTypeNotSupported = 116
}
 Specifies the types of internal errors that can occur upon calling Offer or ReportMonitorAction. 更多...
 
enum  ara::diag::DiagOfferErrc : ara::core::ErrorDomain::CodeType { ara::diag::DiagOfferErrc::kAlreadyOffered = 101, ara::diag::DiagOfferErrc::kConfigurationMismatch = 102, ara::diag::DiagOfferErrc::kDebouncingConfigurationInconsistent = 103 }
 The DiagOfferErrc enumeration defines the error codes for the DiagOfferErrorDomain. 更多...
 
enum  ara::diag::DiagReportingErrc : ara::core::ErrorDomain::CodeType {
  ara::diag::DiagReportingErrc::kAlreadyOffered = 101, ara::diag::DiagReportingErrc::kConfigurationMismatch = 102, ara::diag::DiagReportingErrc::kDebouncingConfigurationInconsistent = 103, ara::diag::DiagReportingErrc::kReportIgnored = 104,
  ara::diag::DiagReportingErrc::kInvalidArgument = 105, ara::diag::DiagReportingErrc::kNotOffered = 106, ara::diag::DiagReportingErrc::kGenericError = 107
}
 The DiagReportingErrc enumeration defines the error codes for the DiagReportingErrorDomain. 更多...
 
enum  ara::diag::DiagUdsNrcErrc : int32_t {
  ara::diag::DiagUdsNrcErrc::kGeneralReject = 0x10, ara::diag::DiagUdsNrcErrc::kServiceNotSupported = 0x11, ara::diag::DiagUdsNrcErrc::kSubfunctionNotSupported = 0x12, ara::diag::DiagUdsNrcErrc::kIncorrectMessageLengthOrInvalidFormat = 0x13,
  ara::diag::DiagUdsNrcErrc::kResponseTooLong = 0x14, ara::diag::DiagUdsNrcErrc::kBusyRepeatRequest = 0x21, ara::diag::kConditionsNotCorrect = 0x22, ara::diag::kRequestSequenceError = 0x24,
  ara::diag::DiagUdsNrcErrc::kNoResponseFromSubnetComponent = 0x25, ara::diag::DiagUdsNrcErrc::kFailurePreventsExecutionOfRequestedAction = 0x26, ara::diag::kRequestOutOfRange = 0x31, ara::diag::DiagUdsNrcErrc::kSecurityAccessDenied = 0x33,
  ara::diag::DiagUdsNrcErrc::kInvalidKey = 0x35, ara::diag::DiagUdsNrcErrc::kExceedNumberOfAttempts = 0x36, ara::diag::DiagUdsNrcErrc::kRequiredTimeDelayNotExpired = 0x37, ara::diag::kUploadDownloadNotAccepted = 0x70,
  ara::diag::kTransferDataSuspended = 0x71, ara::diag::DiagUdsNrcErrc::kGeneralProgrammingFailure = 0x72, ara::diag::DiagUdsNrcErrc::kWrongBlockSequenceCounter = 0x73, ara::diag::DiagUdsNrcErrc::kSubFunctionNotSupportedInActiveSession = 0x7E,
  ara::diag::DiagUdsNrcErrc::kServiceNotSupportedInActiveSession = 0x7F, ara::diag::DiagUdsNrcErrc::kRpmTooHigh = 0x81, ara::diag::DiagUdsNrcErrc::kRpmTooLow = 0x82, ara::diag::DiagUdsNrcErrc::kEngineIsRunning = 0x83,
  ara::diag::DiagUdsNrcErrc::kEngineIsNotRunning = 0x84, ara::diag::DiagUdsNrcErrc::kEngineRunTimeTooLow = 0x85, ara::diag::DiagUdsNrcErrc::kTemperatureTooHigh = 0x86, ara::diag::DiagUdsNrcErrc::kTemperatureTooLow = 0x87,
  ara::diag::DiagUdsNrcErrc::kVehicleSpeedTooHigh = 0x88, ara::diag::DiagUdsNrcErrc::kVehicleSpeedTooLow = 0x89, ara::diag::DiagUdsNrcErrc::kThrottlePedalTooHigh = 0x8A, ara::diag::DiagUdsNrcErrc::kThrottlePedalTooLow = 0x8B,
  ara::diag::DiagUdsNrcErrc::kTransmissionRangeNotInNeutral = 0x8C, ara::diag::DiagUdsNrcErrc::kTransmissionRangeNotInGear = 0x8D, ara::diag::DiagUdsNrcErrc::kBrakeSwitchNotClosed = 0x8F, ara::diag::DiagUdsNrcErrc::kShifterLeverNotInPark = 0x90,
  ara::diag::DiagUdsNrcErrc::kTorqueConverterClutchLocked = 0x91, ara::diag::DiagUdsNrcErrc::kVoltageTooHigh = 0x92, ara::diag::DiagUdsNrcErrc::kVoltageTooLow = 0x93, ara::diag::DiagUdsNrcErrc::kResourceTemporarilyNotAvailable = 0x94,
  ara::diag::DiagUdsNrcErrc::kNoProcessingNoResponse = 0xFF
}
 Specifies the types of internal errors that can occur upon calling Offer or ReportMonitorAction. 更多...
 

函数

constexpr const ara::core::ErrorDomain & ara::diag::GetDiagDomain () noexcept
 Obtain the reference to the single global DiagErrorDomain instance. 更多...
 
constexpr ara::core::ErrorCode ara::diag::MakeErrorCode (DiagErrc code, ara::core::ErrorDomain::SupportDataType data) noexcept
 Create a new ErrorCode for DiagErrorDomain with the given support data type. 更多...
 
constexpr ara::core::ErrorCode ara::diag::MakeErrorCode (DiagOfferErrc code, ara::core::ErrorDomain::SupportDataType data) noexcept
 Create a new ErrorCode for DiagErrorDomain with the given support data type. 更多...
 
constexpr ara::core::ErrorCode ara::diag::MakeErrorCode (DiagReportingErrc code, ara::core::ErrorDomain::SupportDataType data) noexcept
 Create a new ErrorCode for DiagReportingErrorDomain with the given support data type. 更多...
 
constexpr const ara::core::ErrorDomain & ara::diag::GetDiagUdsNrcDomain () noexcept
 Obtain the reference to the single global DiagUdsNrcErrorDomain instance. 更多...
 
constexpr ara::core::ErrorCode ara::diag::MakeErrorCode (DiagUdsNrcErrc code, ara::core::ErrorDomain::SupportDataType data) noexcept
 Create a new ErrorCode for DiagUdsNrcErrorDomain with the given support data type and message. 更多...
 

详细描述

枚举类型说明

◆ DiagErrc

enum ara::diag::DiagErrc : ara::core::ErrorDomain::CodeType
strong

Specifies the types of internal errors that can occur upon calling Offer or ReportMonitorAction.

Swsid
SWS_DM_00514
符合标准
yes
非标原因
N/A
种类
enumeration
符号
DiagErrc
范围
namespace ara::diag
基本类型
ara::core::ErrorDomain::CodeType
取值
N/A
分类
ara
头文件
注解
N/A
枚举值
kAlreadyOffered 

The service is already offered.

kConfigurationMismatch 

monitor configuration does not match dext

kDebouncingConfigurationInconsistent 

monitor debouncing configuration invalid, e.g.passed threshold larger than failed threshold...

kReportIgnored 

Enable Conditions disabled, OC not started, ...

kInvalidArgument 

e.g. kPreFailed with internal debouncing

kNotOffered 

Offer not called before reporting.

kGenericError 

generic issue, e.g. connection to DM lost

kNoSuchDTC 

No DTC available.

kBusy 

Interface is busy with processing.

kFailed 

Failed to process.

kMemoryError 

A memory error occurred during processing.

kWrongDtc 

A wrong DTC number was requested.

kRejected 

Requested operation was rejected due to State Managements/machines internal state.

kResetTypeNotSupported 

The requested Diagnostic reset type is not supported by the Diagnostic Address instance.

kRequestFailed 

Diagnostic request could not be performed successfully.

kCustomResetTypeNotSupported 

The requested Diagnostic custom reset type is not supported by the Diagnostic Address instance.

在文件 第 行定义.

◆ DiagOfferErrc

enum ara::diag::DiagOfferErrc : ara::core::ErrorDomain::CodeType
strong

The DiagOfferErrc enumeration defines the error codes for the DiagOfferErrorDomain.

Swsid
SWS_DM_00559
符合标准
yes
非标原因
N/A
种类
enumeration
符号
DiagOfferErrc
范围
namespace ara::diag
基本类型
ara::core::ErrorDomain::CodeType
取值
N/A
分类
ara
头文件
注解
N/A
枚举值
kAlreadyOffered 

The service is already offered.

kConfigurationMismatch 

monitor configuration does not match dext

kDebouncingConfigurationInconsistent 

monitor debouncing configuration invalid, e.g. passed threshold larger than failed threshold...

在文件 第 行定义.

◆ DiagReportingErrc

enum ara::diag::DiagReportingErrc : ara::core::ErrorDomain::CodeType
strong

The DiagReportingErrc enumeration defines the error codes for the DiagReportingErrorDomain.

Swsid
SWS_DM_00560
符合标准
yes
非标原因
N/A
种类
enumeration
符号
DiagReportingErrc
范围
namespace ara::diag
基本类型
ara::core::ErrorDomain::CodeType
取值
N/A
分类
ara
头文件
注解
N/A
枚举值
kAlreadyOffered 

The service is already offered.

kConfigurationMismatch 

monitor configuration does not match dext

kDebouncingConfigurationInconsistent 

monitor debouncing configuration invalid, e.g. passed threshold larger than failed threshold...

kReportIgnored 

Enable Conditions disabled, OC not started, ...

kInvalidArgument 

e.g. kPreFailed with internal debouncing

kNotOffered 

Offer not called before reporting.

kGenericError 

generic issue, e.g. connection to DM lost

在文件 第 行定义.

◆ DiagUdsNrcErrc

Specifies the types of internal errors that can occur upon calling Offer or ReportMonitorAction.

Swsid
SWS_DM_00526
符合标准
yes
非标原因
N/A
种类
enumeration
符号
DiagUdsNrcErrc
范围
namespace ara::diag
基本类型
int32_t
取值
N/A
分类
ara
头文件
注解
N/A
枚举值
kGeneralReject 

According to ISO. This NRC indicates that the requested action has been rejected by the server.

kServiceNotSupported 

According to ISO. This NRC indicates that the requested action will not be taken because the server does not support the requested service.

kSubfunctionNotSupported 

According to ISO. This NRC indicates that the requested action will not be taken because the server does not support the service specific parameters of the request message.

kIncorrectMessageLengthOrInvalidFormat 

According to ISO. This NRC indicates that the requested action will not be taken because the length of the received request message does not match the prescribed length for the specified service or the format of the paramters do not match the prescribed format for the specified service.

kResponseTooLong 

According to ISO. This NRC shall be reported by the server if the response to be generated exceeds the maximum number of bytes available by the underlying network layer.

kBusyRepeatRequest 

According to ISO. This NRC indicates that the server is temporarily too busy to perform the requested operation.

kConditionsNotCorrect 

According to ISO. This NRC indicates that the requested action will not be taken because the server prerequisite conditions are not met.

kRequestSequenceError 

According to ISO. This NRC indicates that the requested action will not be taken because the server expects a different sequence of request messages or message as sent by the client.

kNoResponseFromSubnetComponent 

According to ISO. This NRC indicates that the server has received the request but the requested action could not be performed by the server as a subnet component which is necessary to supply the requested information did not respond within the specified time.

kFailurePreventsExecutionOfRequestedAction 

According to ISO. This NRC indicates that the requested action will not be taken because a failure condition, identified by a DTC (with at least one DTC status bit for TestFailed, Pending, Confirmed or TestFailedSinceLastClear set to 1), has occurred and that this failure condition prevents the server from performing the requested action.

kRequestOutOfRange 

According to ISO. This NRC indicates that the requested action will not be taken because the server has detected that the request message contains a parameter which attempts to substitute a value beyond its range of authority (e.g. attempting to substitute a data byte of 111 when the data is only defined to 100), or which attempts to access a dataIdentifier/routineIdentifer that is not supported or not supported in active session.

kSecurityAccessDenied 

According to ISO. This NRC indicates that the requested action will not be taken because the server's security strategy has not been satisfied by the client.

kInvalidKey 

According to ISO. This NRC indicates that the server has not given security access because the key sent by the client did not match with the key in the server's memory.

kExceedNumberOfAttempts 

According to ISO. This NRC indicates that the requested action will not be taken because the client has unsuccessfully attempted to gain security access more times than the server's security strategy will allow.

kRequiredTimeDelayNotExpired 

According to ISO. This NRC indicates that the requested action will not be taken because the client's latest attempt to gain security access was initiated before the server's required timeout period had elapsed.

kUploadDownloadNotAccepted 

According to ISO. This NRC indicates that an attempt to upload/download to a server's memory cannot be accomplished due to some fault conditions.

kTransferDataSuspended 

According to ISO. This NRC indicates that a data transfer operation was halted due to some fault. The active transferData sequence shall be aborted.

kGeneralProgrammingFailure 

According to ISO. This NRC indicates that the server detected an error when erasing or programming a memory location in the permanent memory device (e.g. Flash Memory).

kWrongBlockSequenceCounter 

According to ISO. This NRC indicates that the server detected an error in the sequence of blockSequenceCounter values.

kSubFunctionNotSupportedInActiveSession 

According to ISO. This NRC indicates that the requested action will not be taken because the server does not support the requested SubFunction in the session currently active.

kServiceNotSupportedInActiveSession 

According to ISO. This NRC indicates that the requested action will not be taken because the server does not support the requested service in the session currently active.

kRpmTooHigh 

According to ISO. This NRC indicates that the requested action will not be taken because the server prerequisite condition for RPM is not met (current RPM is above a preprogrammed maximum threshold).

kRpmTooLow 

According to ISO. This NRC indicates that the requested action will not be taken because the server prerequisite condition for RPM is not met (current RPM is below a preprogrammed minimum threshold).

kEngineIsRunning 

According to ISO. This NRC is required for those actuator tests which cannot be actuated while the Engine is running.

kEngineIsNotRunning 

According to ISO. This NRC is required for those actuator tests which cannot be actuated unless the Engine is running. This is different from RPM too low negative response, and shall be allowed.

kEngineRunTimeTooLow 

According to ISO. This NRC indicates that the requested action will not be taken because the server prerequisite condition for engine run time is not met (current engine run time is below a preprogrammed limit).

kTemperatureTooHigh 

According to ISO. This NRC indicates that the requested action will not be taken because the server prerequisite condition for temperature is not met (current temperature is above a preprogrammed maximum threshold).

kTemperatureTooLow 

According to ISO. This NRC indicates that the requested action will not be taken because the server prerequisite condition for temperature is not met (current temperature is below a preprogrammed minimum threshold).

kVehicleSpeedTooHigh 

According to ISO. This NRC indicates that the requested action will not be taken because the server prerequisite condition for vehicle speed is not met (current VS is above a preprogrammed maximum threshold).

kVehicleSpeedTooLow 

According to ISO. This NRC indicates that the requested action will not be taken because the server prerequisite condition for vehicle speed is not met (current VS is below a preprogrammed minimum threshold).

kThrottlePedalTooHigh 

According to ISO. This NRC indicates that the requested action will not be taken because the server prerequisite condition for throttle/pedal position is not met (current TP/APP is above a preprogrammed maximum threshold).

kThrottlePedalTooLow 

According to ISO. This NRC indicates that the requested action will not be taken because the server prerequisite condition for throttle/pedal position is not met (current TP/APP is below a preprogrammed minimum threshold).

kTransmissionRangeNotInNeutral 

According to ISO. This NRC indicates that the requested action will not be taken because the server prerequisite condition for being in neutral is not met (current transmission range is not in neutral).

kTransmissionRangeNotInGear 

According to ISO. This NRC indicates that the requested action will not be taken because the server prerequisite condition for being in gear is not met (current transmission range is not in gear).

kBrakeSwitchNotClosed 

According to ISO. This NRC indicates that for safety reasons, this is required for certain tests before it begins, and shall be maintained for the entire duration of the test.

kShifterLeverNotInPark 

According to ISO. This NRC indicates that for safety reasons, this is required for certain tests before it begins, and shall be maintained for the entire duration of the test.

kTorqueConverterClutchLocked 

According to ISO. This NRC indicates that the requested action will not be taken because the server prerequisite condition for torque converter clutch is not met (current TCC status above a preprogrammed limit or locked).

kVoltageTooHigh 

According to ISO. This NRC indicates that the requested action will not be taken because the server prerequisite condition for voltage at the primary pin of the server (ECU) is not met (current voltage is above a preprogrammed maximum threshold).

kVoltageTooLow 

According to ISO. This NRC indicates that the requested action will not be taken because the server prerequisite condition for voltage at the primary pin of the server (ECU) is not met (current voltage is below a preprogrammed maximum threshold).

kResourceTemporarilyNotAvailable 

According to ISO 14229-1 Table A.1.14229-1 Table A.1.This NRC indicates that the server has received the request but the requested action could not be performed by the server because an application which is necessary to supply the requested information is temporality not available.

kNoProcessingNoResponse 

Deviating from ISO - no further service processing and no response (silently ignore request message).

在文件 第 行定义.

函数说明

◆ GetDiagDomain()

constexpr const ara::core::ErrorDomain& ara::diag::GetDiagDomain ( )
constexprnoexcept

Obtain the reference to the single global DiagErrorDomain instance.

模板参数
N/A
参数
[in]N/A
[out]N/A
[in,out]N/A
返回
const ara::core::ErrorDomain &
注解
N/A
异常
N/A
Swsid
SWS_DM_00524
符合标准
yes
非标原因
N/A
种类
function
可见
public
线程安全
no
Fireandforget
no
错误
N/A
头文件
异常安全
noexcept
分类
ara

在文件 第 行定义.

被这些函数引用 .

这是这个函数的调用关系图:

◆ GetDiagUdsNrcDomain()

constexpr const ara::core::ErrorDomain& ara::diag::GetDiagUdsNrcDomain ( )
constexprnoexcept

Obtain the reference to the single global DiagUdsNrcErrorDomain instance.

模板参数
N/A
参数
[in]N/A
[out]N/A
[in,out]N/A
返回
const ara::core::ErrorDomain &
注解
N/A
异常
N/A
Swsid
SWS_DM_00536
符合标准
yes
非标原因
N/A
种类
function
可见
public
线程安全
no
Fireandforget
no
错误
N/A
头文件
异常安全
noexcept
分类
ara

在文件 第 行定义.

被这些函数引用 .

这是这个函数的调用关系图:

◆ MakeErrorCode() [1/4]

constexpr ara::core::ErrorCode ara::diag::MakeErrorCode ( DiagErrc  code,
ara::core::ErrorDomain::SupportDataType  data 
)
constexprnoexcept

Create a new ErrorCode for DiagErrorDomain with the given support data type.

模板参数
N/A
参数
[in]codean enumeration value from future_errc
[in]dataa vendor-defined supplementary value
[out]N/A
[in,out]N/A
返回
ara::core::ErrorCode
注解
N/A
异常
N/A
Swsid
SWS_DM_00525
符合标准
yes
非标原因
N/A
种类
function
可见
public
线程安全
no
Fireandforget
no
错误
N/A
头文件
异常安全
noexcept
分类
ara

在文件 第 行定义.

引用了 .

函数调用图:

◆ MakeErrorCode() [2/4]

constexpr ara::core::ErrorCode ara::diag::MakeErrorCode ( DiagOfferErrc  code,
ara::core::ErrorDomain::SupportDataType  data 
)
constexprnoexcept

Create a new ErrorCode for DiagErrorDomain with the given support data type.

模板参数
N/A
参数
[in]codean enumeration value from future_errc
[in]dataa vendor-defined supplementary value
[out]N/A
[in,out]N/A
返回
ara::core::ErrorCode
注解
N/A
异常
N/A
Swsid
SWS_DM_01005
符合标准
yes
非标原因
N/A
种类
function
可见
public
线程安全
no
Fireandforget
no
错误
N/A
头文件
异常安全
noexcept
分类
ara

在文件 第 行定义.

◆ MakeErrorCode() [3/4]

constexpr ara::core::ErrorCode ara::diag::MakeErrorCode ( DiagReportingErrc  code,
ara::core::ErrorDomain::SupportDataType  data 
)
constexprnoexcept

Create a new ErrorCode for DiagReportingErrorDomain with the given support data type.

模板参数
N/A
参数
[in]codean enumeration value from future_errc
[in]dataa vendor-defined supplementary value
[out]N/A
[in,out]N/A
返回
ara::core::ErrorCode
注解
N/A
异常
N/A
Swsid
SWS_DM_01006
符合标准
yes
非标原因
N/A
种类
function
可见
public
线程安全
no
Fireandforget
no
错误
N/A
头文件
异常安全
noexcept
分类
ara

在文件 第 行定义.

◆ MakeErrorCode() [4/4]

constexpr ara::core::ErrorCode ara::diag::MakeErrorCode ( DiagUdsNrcErrc  code,
ara::core::ErrorDomain::SupportDataType  data 
)
constexprnoexcept

Create a new ErrorCode for DiagUdsNrcErrorDomain with the given support data type and message.

模板参数
N/A
参数
[in]codean enumeration value from diag_errc
[in]dataa vendor-defined supplementary value
[out]N/A
[in,out]N/A
返回
ara::core::ErrorCode
注解
N/A
异常
N/A
Swsid
SWS_DM_00537
符合标准
yes
非标原因
N/A
种类
function
可见
public
线程安全
no
Fireandforget
no
错误
N/A
头文件
异常安全
noexcept
分类
ara

在文件 第 行定义.

引用了 .

函数调用图: