|
libdoip
0.1.0
DoIP (Diagnostics over Internet Protocol) ISO 13400 C++17 Library
|
Classes | |
| class | IUdsServiceHandler |
| class | LambdaUdsHandler |
| class | UdsMock |
| struct | UdsServiceDescriptor |
Typedefs | |
| using | UdsResponse = std::pair< UdsResponseCode, ByteArray > |
| using | IUdsServiceHandlerPtr = std::unique_ptr< IUdsServiceHandler > |
| using | uds_length = uint16_t |
Functions | |
| std::ostream & | operator<< (std::ostream &os, const UdsResponse &response) |
| std::ostream & | operator<< (std::ostream &os, const UdsResponseCode &code) |
| const UdsServiceDescriptor * | findServiceDescriptor (UdsService sid) |
| Find service descriptor by service ID. More... | |
Variables | |
| constexpr uint8_t | UDS_POSITIVE_RESPONSE_OFFSET = 0x40 |
| constexpr uds_length | MAX_UDS_MESSAGE_LENGTH = 4095 |
| constexpr std::array< UdsServiceDescriptor, 19 > | UDS_SERVICE_DESCRIPTORS |
| using doip::uds::IUdsServiceHandlerPtr = typedef std::unique_ptr<IUdsServiceHandler> |
Definition at line 36 of file IUdsServiceHandler.h.
| using doip::uds::uds_length = typedef uint16_t |
Definition at line 34 of file UdsServices.h.
| using doip::uds::UdsResponse = typedef std::pair<UdsResponseCode, ByteArray> |
Definition at line 10 of file IUdsServiceHandler.h.
|
strong |
Definition at line 11 of file UdsResponseCode.h.
|
strong |
Definition at line 12 of file UdsServices.h.
|
inline |
Find service descriptor by service ID.
| sid | the UDS service ID |
Definition at line 73 of file UdsServices.h.
References UDS_SERVICE_DESCRIPTORS.
Referenced by doip::uds::UdsMock::handleDiagnosticRequest().
|
inline |
Definition at line 12 of file IUdsServiceHandler.h.
|
inline |
Definition at line 88 of file UdsResponseCode.h.
References AuthenticationRequired, BrakeSwitchNotClosed, BusyRepeatRequest, ConditionsNotCorrect, EngineIsNotRunning, EngineIsRunning, EngineRunTimeTooLow, ExceedNumberOfAttempts, FailurePreventsExecutionOfRequestedAction, GeneralProgrammingFailure, GeneralReject, doip::ansi::green, IncorrectMessageLengthOrInvalidFormat, InvalidKey, NoResponseFromSubnetComponent, OK, doip::ansi::red, RequestCorrectlyReceived_ResponsePending, RequestOutOfRange, RequestSequenceError, RequiredTimeDelayNotExpired, doip::ansi::reset, ResourceTemporarilyNotAvailable, ResponseTooLong, RpmTooHigh, RpmTooLow, SecureDataTransmissionNotAllowed, SecureDataTransmissionRequired, SecureDataVerificationFailed, SecurityAccessDenied, ServiceNotSupported, ServiceNotSupportedInActiveSession, ShifterLeverNotInPark, SubFunctionNotSupported, SubFunctionNotSupportedInActiveSession, TemperatureTooHigh, TemperatureTooLow, ThrottlePedalTooHigh, ThrottlePedalTooLow, TorqueConverterClutchLocked, TransferDataSuspended, TransmissionRangeNotInGear, TransmissionRangeNotInNeutral, UploadDownloadNotAccepted, VehicleSpeedTooHigh, VehicleSpeedTooLow, VoltageTooHigh, VoltageTooLow, and WrongBlockSequenceCounter.
|
constexpr |
Definition at line 43 of file UdsServices.h.
|
constexpr |
|
constexpr |
Definition at line 45 of file UdsServices.h.
Referenced by findServiceDescriptor().