summaryrefslogtreecommitdiff
path: root/implementation/service_discovery/include/defines.hpp
blob: 3390940dc21866a4b26b0ecf07ba9d4ab0b180df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright (C) 2014 BMW Group
// Author: Lutz Bichler (lutz.bichler@bmw.de)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

#ifndef VSOMEIP_SD_DEFINES_HPP
#define VSOMEIP_SD_DEFINES_HPP

#define VSOMEIP_SOMEIP_SD_DATA_SIZE				12
#define VSOMEIP_SOMEIP_SD_ENTRY_SIZE			16
#define VSOMEIP_SOMEIP_SD_OPTION_HEADER_SIZE	 3

#define VSOMEIP_SD_SERVICE						0xFFFF
#define VSOMEIP_SD_INSTANCE						0x0000
#define VSOMEIP_SD_METHOD						0x8100
#define VSOMEIP_SD_CLIENT						0x0000

#define VSOMEIP_DEFAULT_MIN_INITIAL_DELAY		0
#define VSOMEIP_DEFAULT_MAX_INITIAL_DELAY		3000
#define VSOMEIP_DEFAULT_REPETITION_BASE_DELAY	10
#define VSOMEIP_DEFAULT_REPETITION_MAX			5
#define VSOMEIP_DEFAULT_CYCLIC_OFFER_DELAY		1000
#define VSOMEIP_DEFAULT_CYCLIC_REQUEST_DELAY	2000

#endif // VSOMEIP_SD_DEFINES_HPP