Diag-Client-Lib
dm_uds_message.cpp
Go to the documentation of this file.
1 /* Diagnostic Client library
2  * Copyright (C) 2024 Avijit Dey
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  */
9 
10 namespace diag {
11 namespace client {
12 namespace uds_message {
15  source_address_{sa},
16  target_address_{ta},
17  target_address_type_{TargetAddressType::kPhysical},
18  host_ip_address_{host_ip_address},
19  uds_payload_{payload} {}
20 
21 DmUdsResponse::DmUdsResponse(ByteVector &payload) : uds_payload_{payload} {}
22 
23 } // namespace uds_message
24 } // namespace client
25 } // namespace diag
DmUdsMessage(Address sa, Address ta, IpAddress host_ip_address, uds_transport::ByteVector &payload)
Class represents an UDS message exchanged between User of diag-client-lib and implementation of diag-...
std::vector< std::uint8_t > ByteVector
Type alias of byte vector type.
std::string_view IpAddress
Definition: uds_message.h:24
std::vector< std::uint8_t > ByteVector