• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (C) 2014-2019 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 SECOND_ADDRESS_TEST_GLOBALS_HPP_
7 #define SECOND_ADDRESS_TEST_GLOBALS_HPP_
8 
9 namespace second_address_test {
10 
11 struct service_info {
12     vsomeip::service_t service_id;
13     vsomeip::instance_t instance_id;
14     vsomeip::eventgroup_t eventgroup_id;
15     vsomeip::event_t event_id;
16     vsomeip::eventgroup_t selective_eventgroup_id;
17     vsomeip::event_t selective_event_id;
18     vsomeip::method_t request_method_id;
19     vsomeip::method_t notify_method_id;
20     vsomeip::method_t shutdown_method_id;
21 };
22 
23 struct service_info service = { 0x3333, 0x1, 0x1, 0x8301, 0x2, 0x8302, 0x1111, 0x2222, 0x1404 };
24 
25 static constexpr std::uint32_t number_of_messages_to_send = 150;
26 static constexpr std::uint8_t number_of_events_to_send = 150;
27 }
28 
29 #endif /* SECOND_ADDRESS_TEST_GLOBALS_HPP_ */
30