ITS
constantes.h
Go to the documentation of this file.
1 
5 #ifndef CONSTANTES_H
6 #define CONSTANTES_H
7 
12 {
15 };
16 
21 {
26 };
27 
32 {
36 };
37 
42 {
44  btpPort_CAM = 2001,
45  btpPort_DENM = 2002,
46  btpPort_MAP = 2003,
47  btpPort_SPAT = 2004,
48  btpPort_SAM = 2005
49 };
50 
54 enum e_shape
55 {
60 };
61 
62 /* Constantes de l'ETSI */
63 #define itsGnLocalGnAddr 1
64 
65 #define itsGnLocalAddrConfMethod_default 1
66 
67 #define itsGnLocalAddrConfMethod_auto 0
68 #define itsGnLocalAddrConfMethod_managed 1
69 #define itsGnLocalAddrConfMethod_anonymous 2
70 
71 #define itsGnProtocolVersion 0
72 
73 #define itsGnStationType_unknown 0
74 #define itsGnStationType_pedestrian 1
75 #define itsGnStationType_cyclist 2
76 #define itsGnStationType_moped 3
77 #define itsGnStationType_motorcycle 4
78 #define itsGnStationType_passengerCar 5
79 #define itsGnStationType_bus 6
80 #define itsGnStationType_lightTruck 7
81 #define itsGnStationType_heavyTruck 8
82 #define itsGnStationType_trailer 9
83 #define itsGnStationType_specialVehicles 10
84 #define itsGnStationType_tram 11
85 #define itsGnStationType_roadSideUnit 15
86 
87 #define itsGnIsMobile_stationary 0
88 #define itsGnIsMobile_mobile 1
89 
90 #define itsGnIfType_unspecified 0
91 #define itsGnIfType_itsG5 1
92 
93 #define itsGnMinUpdateFrequencyLPV 1000
94 #define itsGnPaiInterval 80
95 #define itsGnMaxSduSize 1398
96 #define itsGnMaxGeoNetworkingHeaderSize 88
97 #define itsGnLifetimeLocTE 20
98 
99 #define itsGnSecurity_disabled 0
100 #define itsGnSecurity_enabled 1
101 
102 #define itsGnSnDecapResultHandling_strict 0
103 #define itsGnSnDecapResultHandling_nonStrict 1
104 
105 #define itsGnLocationServiceMaxRetrans 10
106 #define itsGnLocationServiceRetransmitTimer 1000
107 #define itsGnLocationServicePacketBufferSize 1024
108 #define itsGnBeaconServiceRetransmitTimer 3000
109 #define itsGnBeaconServiceMaxJitter itsGnBeaconServiceRetransmitTimer / 4
110 #define itsGnDefaultHopLimit 10
111 #define itsGnDefaultPacketLifeTime 60
112 #define itsGnMaxPacketLifetime 600
113 #define itsGnMaxPacketDataRate 100
114 #define itsGnMaxPacketDataRateEmaBeta 90
115 #define itsGnMaxGeoAreaSize 10
116 #define itsGnMinPacketRepetitionInterval 100
117 #define itsGnGeoUnicastCbfMinTime 300/*1*/
118 #define itsGnGeoUnicastCbfMaxTime 1000/*100*/
119 #define itsGnGeoBroadcastCbfMinTime 300/*1*/
120 #define itsGnGeoBroadcastCbfMaxTime 1000/*100*/
121 #define itsGnDefaultMaxCommunicationRange 1000
122 #define itsGnBroadcastCBFDefSectorAngle 30
123 #define itsGnUnicastCBFDefSectorAngle 30
124 //#define itsGnGeoAreaLineForwarding 1
125 #define itsGnUcForwardingPacketBufferSize 256
126 #define itsGnBcForwardingPacketBufferSize 1024
127 #define itsGnCbfPacketbufferSize 256
128 #define itsGnDefaultTrafficClass 0x00
129 
130 #endif // CONSTANTES_H
131 
e_gnGeoBroadcastForwardingAlgorithm
The e_gnGeoBroadcastForwardingAlgorithm enum defines the type of forwarding algorithm is used for GBC...
Definition: constantes.h:20
e_gnCommunicationProfile
The e_gnCommunicationProfile enum defines the type of communication profile.
Definition: constantes.h:11
e_gnGeoUnicastForwardingAlgorithm
The e_gnGeoUnicastForwardingAlgorithm enum defines the type of forwarding algorithm is used for GUC...
Definition: constantes.h:31
e_shape
The e_shape enum defines the shapes type.
Definition: constantes.h:54
e_btpPort
The e_btpPort enum defines the BTP port.
Definition: constantes.h:41