1 // Copyright (C) 2014-2017 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 EVENT_TEST_GLOBALS_HPP_ 7 #define EVENT_TEST_GLOBALS_HPP_ 8 9 namespace event_test { 10 11 struct service_info { 12 vsomeip::service_t service_id; 13 vsomeip::instance_t instance_id; 14 vsomeip::method_t method_id; 15 vsomeip::event_t event_id; 16 vsomeip::eventgroup_t eventgroup_id; 17 vsomeip::method_t shutdown_method_id; 18 vsomeip::method_t notify_method_id; 19 }; 20 21 struct service_info service = { 0x3344, 0x1, 0x1111, 0x8002, 0x1, 0x1404, 0x4242 }; 22 23 enum test_mode_e : std::uint8_t { 24 UNKNOWN, 25 PAYLOAD_FIXED, 26 PAYLOAD_DYNAMIC 27 }; 28 29 std::uint32_t payload_fixed_length = 20; 30 31 } 32 33 #endif /* EVENT_TEST_GLOBALS_HPP_ */ 34