1 // Copyright (C) 2014-2018 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
2 // This Source Code Form is subject to the terms of the Mozilla Public
3 // License, v. 2.0. If a copy of the MPL was not distributed with this
4 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 
6 #ifndef VSOMEIP_V3_SD_CONSTANTS_HPP_
7 #define VSOMEIP_V3_SD_CONSTANTS_HPP_
8 
9 #include <vsomeip/enumeration_types.hpp>
10 #include <vsomeip/primitive_types.hpp>
11 
12 namespace vsomeip_v3 {
13 namespace sd {
14 
15 const service_t service = 0xFFFF;
16 const instance_t instance = 0x0000;
17 const method_t method = 0x8100;
18 const client_t client = 0x0000;
19 const protocol_version_t protocol_version = 0x01;
20 const interface_version_t interface_version = 0x01;
21 const message_type_e message_type = message_type_e::MT_NOTIFICATION;
22 const return_code_e return_code = return_code_e::E_OK;
23 
24 namespace protocol {
25 
26 const uint8_t reserved_byte = 0x0;
27 const uint16_t reserved_word = 0x0;
28 const uint32_t reserved_long = 0x0;
29 
30 const uint8_t tcp = 0x06;
31 const uint8_t udp = 0x11;
32 
33 } // namespace protocol
34 } // namespace sd
35 } // namespace vsomeip_v3
36 
37 #endif // VSOMEIP_V3_SD_CONSTANTS_HPP_
38