A class to handle UDS messages via DoIP. More...
#include <diag_message_handler.h>
Public Member Functions | |
DiagMessageHandler (helper::CurlWrapper *curl, std::string resourcesUrl, uint8_t protocolVersion) | |
Constructor. More... | |
DoipLib::Message * | GetMessage () override |
bool | TryHandle (const DoipLib::Message *request, std::vector< uint8_t > &response) const override |
A class to handle UDS messages via DoIP.
application::doip::DiagMessageHandler::DiagMessageHandler | ( | helper::CurlWrapper * | curl, |
std::string | resourcesUrl, | ||
uint8_t | protocolVersion | ||
) |
Constructor.
curl | Configured CURL instance for RESTful communication |
resourcesUrl | Connected vehicle resources access RESTful URL |
protocolVersion | DoIP protocol version |
|
override |