• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 PENDING_SUBSCRIPTION_TEST_GLOBALS_HPP_
7 #define PENDING_SUBSCRIPTION_TEST_GLOBALS_HPP_
8 
9 namespace pending_subscription_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 = { 0x1122, 0x1, 0x1111, 0x1111, 0x1000, 0x1404, 0x4242 };
22 
23 enum test_mode_e {
24     SUBSCRIBE,
25     SUBSCRIBE_UNSUBSCRIBE,
26     UNSUBSCRIBE,
27     SUBSCRIBE_UNSUBSCRIBE_NACK,
28     SUBSCRIBE_UNSUBSCRIBE_SAME_PORT,
29     SUBSCRIBE_RESUBSCRIBE_MIXED,
30     SUBSCRIBE_STOPSUBSCRIBE_SUBSCRIBE,
31     REQUEST_TO_SD
32 };
33 
34 }
35 
36 #endif /* PENDING_SUBSCRIPTION_TEST_GLOBALS_HPP_ */
37