89 os <<
"UdsResponseCode(0x" << std::hex << std::uppercase << std::setw(2) << std::setfill(
'0')
90 <<
static_cast<unsigned int>(code) << std::dec <<
")";
98 os <<
" General Reject";
101 os <<
" Service Not Supported";
104 os <<
" SubFunction Not Supported";
107 os <<
" Incorrect Message Length Or Invalid Format";
110 os <<
" Response Too Long";
113 os <<
" Busy Repeat Request";
116 os <<
" Conditions Not Correct";
119 os <<
" Request Sequence Error";
122 os <<
" No Response From Subnet Component";
125 os <<
" Failure Prevents Execution Of Requested Action";
128 os <<
" Request Out Of Range";
131 os <<
" Security Access Denied";
134 os <<
" AuthenticationRequired";
140 os <<
" ExceedNumberOfAttempts";
143 os <<
" RequiredTimeDelayNotExpired";
146 os <<
" SecureDataTransmissionRequired";
149 os <<
" SecureDataTransmissionNotAllowed";
152 os <<
" SecureDataVerificationFailed";
155 os <<
" UploadDownloadNotAccepted";
158 os <<
" TransferDataSuspended";
161 os <<
" GeneralProgrammingFailure";
164 os <<
" WrongBlockSequenceCounter";
167 os <<
" RequestCorrectlyReceived_ResponsePending";
170 os <<
" SubFunctionNotSupportedInActiveSession";
173 os <<
" ServiceNotSupportedInActiveSession";
182 os <<
" EngineIsRunning";
185 os <<
" EngineIsNotRunning";
188 os <<
" EngineRunTimeTooLow";
191 os <<
" TemperatureTooHigh";
194 os <<
" TemperatureTooLow";
197 os <<
" VehicleSpeedTooHigh";
200 os <<
" VehicleSpeedTooLow";
203 os <<
" ThrottlePedalTooHigh";
206 os <<
" ThrottlePedalTooLow";
209 os <<
" TransmissionRangeNotInNeutral";
212 os <<
" TransmissionRangeNotInGear";
215 os <<
" BrakeSwitchNotClosed";
218 os <<
" ShifterLeverNotInPark";
221 os <<
" TorqueConverterClutchLocked";
224 os <<
" VoltageTooHigh";
227 os <<
" VoltageTooLow";
230 os <<
" ResourceTemporarilyNotAvailable";
constexpr const char * red
constexpr const char * reset
constexpr const char * green
@ OwnershipVerificationFailed
@ CertficateVerificationFailedInvalidChainOfTrust
@ RequestCorrectlyReceived_ResponsePending
@ CertficateVerificationFailedInvalidCertificate
@ ConfigurationDataUsageFailed
@ SubFunctionNotSupportedInActiveSession
@ CertficateVerificationFailedInvalidScope
@ CertficateVerificationFailedInvalidType
@ CertficateVerificationFailedInvalidSignature
@ CertficateVerificationFailedInvalidContent
@ TransmissionRangeNotInNeutral
@ ResourceTemporarilyNotAvailable
@ NoResponseFromSubnetComponent
@ IncorrectMessageLengthOrInvalidFormat
@ UploadDownloadNotAccepted
@ SubFunctionNotSupported
@ RequiredTimeDelayNotExpired
@ TransmissionRangeNotInGear
@ CertficateVerificationFailedInvalidTimePeriod
@ GeneralProgrammingFailure
@ CertficateVerificationFailedInvalidFormat
@ ChallengeCalculationFailed
@ SecureDataTransmissionNotAllowed
@ SecureDataVerificationFailed
@ SettingAccessRightsFailed
@ TorqueConverterClutchLocked
@ ServiceNotSupportedInActiveSession
@ WrongBlockSequenceCounter
@ FailurePreventsExecutionOfRequestedAction
@ SecureDataTransmissionRequired
@ SessionKeyCreationOrDerivationFailed
std::ostream & operator<<(std::ostream &os, const UdsResponse &response)