Newer
Older
* $Id$
* @desc Module containing common types and values for ITS Protocols
*
*/
module LibItsCommon_TypesAndValues {
import from LibItsFntp_TypesAndValues {
UtFntpInitialize,
UtFntpEvent,
UtFntpCommandRequest, UtFntpCommandConfirm, UtFntpCommandIndication
UtFsapInitialize,
UtFsapEvent,
garciay
committed
UtFsapCommandRequest // , UtFsapCommandConfirm FIXME To be removed
garciay
committed
import from LibItsIicp_TypesAndValues {
type
UtIicpInitialize
};
import from ITS_Container language "ASN.1:1997" all;
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
group commonConstants {
const ItsPduHeader.protocolVersion c_protocolVersionDenm := 1;
const ItsPduHeader.messageID c_messageId := 1;
const ElevationValue c_seaLevel := 0;
const ElevationValue c_oneMeter := 1;
const ElevationConfidence c_withinOneMeter := 1;
const ElevationConfidence c_notValid := 127;
const SemiAxisLength c_semiAxisLengthOneCentimeter := 1;
const SemiAxisLength c_semiAxisLengthUnavailable := 4095;
const DirectionValue c_directionValueNorth := 0;
const DirectionValue c_directionValueEast := 900;
const DirectionValue c_directionValueSouth := 1800;
const DirectionValue c_directionValueWest := 2700;
const DirectionValue c_directionValueUnavailable := 3600;
const DirectionConfidence c_directConfidenceWithinZeroPointOneDegree := 1;
const DirectionConfidence c_directConfidenceWithinOneDegree := 10;
const DirectionConfidence c_directConfidenceUnavailable := 127;
/**
* @remark check this values
*/
group causeCodes {
const CauseCodeType c_causeReserved := 0;
const CauseCodeType c_causeTrafficCondition := 1;
const CauseCodeType c_causeAccident := 2;
const CauseCodeType c_causeRoadworks := 3;
const CauseCodeType c_causeAdverseWeatherCondition_Adhesion := 6;
const CauseCodeType c_causeHazardousLocation_SurfaceCondition := 9;
const CauseCodeType c_causeHazardousLocation_ObstacleOnTheRoad := 10;
const CauseCodeType c_causeHazardousLocation_AnimalOnTheRoad := 11;
const CauseCodeType c_causeHumanPresenceOnTheRoad := 12;
const CauseCodeType c_causeWrongWayDriving := 14;
const CauseCodeType c_causeRescueAndRecoveryWorkInProgress := 15;
const CauseCodeType c_causeAdverseWeatherCondition_ExtremeWeatherCondition := 17;
const CauseCodeType c_causeAdverseWeatherCondition_Visibility := 18;
const CauseCodeType c_causeAdverseWeatherCondition_Precipitation := 19;
const CauseCodeType c_causeSlowVehicle := 26;
const CauseCodeType c_causeDangerousEndOfQueue := 27;
const CauseCodeType c_causeVehicleBreakdown := 91;
const CauseCodeType c_causePostCrash := 92;
const CauseCodeType c_causeHumanProblem := 93;
const CauseCodeType c_causeStationaryVehicle := 94;
const CauseCodeType c_causeEmergencyVehicleApproaching := 95;
const CauseCodeType c_causeHazardousLocation_DangerousCurve := 96;
const CauseCodeType c_causeCollisionRisk := 97;
const CauseCodeType c_causeSignalViolation := 98;
const CauseCodeType c_causeDangerousSituation := 99;
} // end group causeCodes
/**
* @remark check this values
*/
group subCauseCodes {
const SubCauseCodeType c_subCauseUnknown := 0;
const SubCauseCodeType c_subCauseHardBrakeVehicle := 1;
const SubCauseCodeType c_subCauseStopSignViolation := 1;
const SubCauseCodeType c_subCauseTrafficLightViolation := 2;
const SubCauseCodeType c_subCauseTurningRegulationViolation := 3;
const SubCauseCodeType c_subCauseBrakeDownVehicle := 1;
const SubCauseCodeType c_subCauseVehicleSpeedReducedWithSafetyLightsOn := 2;
const SubCauseCodeType c_subCauseLeftTurnCollisionRisk := 1;
const SubCauseCodeType c_subCauseRightTurnCollisionRisk := 2;
const SubCauseCodeType c_subCauseCrossingCollisionRisk := 3;
const SubCauseCodeType c_subCauseMergingCollisionRisk := 4;
const SubCauseCodeType c_subCauseDangerousCurve := 1;
const SubCauseCodeType c_subCauseObstacleOnTheRoad := 2;
const SubCauseCodeType c_subCauseHeavyRain := 1;
const SubCauseCodeType c_subCauseHeavySnow := 2;
const SubCauseCodeType c_subCauseStrongSideWind := 1;
const SubCauseCodeType c_subCauseStrongWindFromBack := 2;
const SubCauseCodeType c_subCauseLowRoadAdhesion := 1;
const SubCauseCodeType c_subCauseBlackIce := 2;
const SubCauseCodeType c_subCauseBadVisibilityDueToFrost := 1;
const SubCauseCodeType c_subCauseBadVisibilityDueToStorm := 4;
const SubCauseCodeType c_subCauseEmergencyVehicle := 1;
const SubCauseCodeType c_subCauseMedicalAssistanceVahicle := 2;
} // end group subCauseCodes
} // end commonConstants