Diag-Client-Lib
dm_conversation_type.h
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 */
8 #ifndef DIAGNOSTIC_CLIENT_LIB_APPL_SRC_DCM_CONVERSATION_DM_CONVERSATION_TYPE_H
9 #define DIAGNOSTIC_CLIENT_LIB_APPL_SRC_DCM_CONVERSATION_DM_CONVERSATION_TYPE_H
10 
11 #include <cstdint>
12 #include <string>
13 
14 namespace diag {
15 namespace client {
16 namespace conversation {
17 
25  std::uint32_t rx_buffer_size{};
26 
30  uint16_t p2_client_max{};
31 
35  uint16_t p2_star_client_max{};
36 
40  uint16_t source_address{};
41 
45  std::string tcp_address{};
46 
50  uint16_t port_num{};
51 
55  std::uint8_t handler_id{};
56 };
57 
58 } // namespace conversation
59 } // namespace client
60 } // namespace diag
61 #endif // DIAGNOSTIC_CLIENT_LIB_APPL_SRC_DCM_CONVERSATION_DM_CONVERSATION_TYPE_H
Structure containing DM conversation type.
std::uint8_t handler_id
The handle id of conversation.
std::string tcp_address
The Tcp IP address of conversation.
uint16_t p2_client_max
The maximum p2 client time.
uint16_t p2_star_client_max
The maximum p2 star client time.
std::uint32_t rx_buffer_size
The reception buffer size type.
uint16_t source_address
The source address of conversation.
uint16_t port_num
The Port number of conversation.