Newer
Older
/**
* @author ETSI / STF405 / STF449
* @version $URL$
* $Id$
* @desc Module containing common types and values for ITS Protocols
*
*/
module LibItsCommon_TypesAndValues {
// LibCommon
import from LibCommon_DataStrings all;
// LibIts
import from ITS_Container language "ASN.1:1997" all;
group utPrimitives {
/**
* @desc Upper Tester message to initialize IUT
* @member hashedId8 In case of secured mode set, hashedId8 indicate which certificate the IUT shall use
}
/**
* @desc Upper Tester result message of the initialization request
*/
type boolean UtInitializeResult;
/**
* @desc Upper Tester message to change the position of IUT. Values a relatives
*/
type record UtChangePosition {
integer latitude,
integer longitude,
integer elevation
}
/**
* @desc Upper Tester result message of change position request of IUT
*/
type boolean UtChangePositionResult;
/**
* @desc Upper Tester message to change the pseudonym of the DENM IUT
*/
type record UtChangePseudonym {
// empty on purpose
}
/**
* @desc Upper Tester result message of the change pseudonym request
*/
type boolean UtChangePseudonymResult;
/**
* @desc Upper Tester message to activate position and/or time
*/
type record UtActivatePositionTime {
// empty on purpose
}
/**
* @desc Upper Tester result message of the activate position and/or time request
*/
type boolean UtActivatePositionTimeResult;
/**
* @desc Upper Tester message to deactivate position and/or time
*/
type record UtDeactivatePositionTime {
// empty on purpose
}
/**
* @desc Upper Tester result message of the deactivate position and/or time request
*/
type boolean UtDeactivatePositionTimeResult;
}
with {
encode "UpperTester"
}
/**
* @desc TA primitives for security support
* @member acSetCertificate Primitive used to activate security support
* @member acDisableSecurity Primitive used to deactiate security support
*/
type union AcSecPrimitive {
AcEnableSecurity acEnableSecurity,
AcDisableSecurity acDisableSecurity
} // End of type AcSecPrimitive
/**
* @desc Primitive used to activate security support
* @member certificateId The certificate identifier to be used
type record AcEnableSecurity {
charstring certificateId
} // End of type AcEnableSecurity
/**
* @desc Primitive used to deactiate security support
*/
type record AcDisableSecurity {
boolean disable
} // End of type AcDisableSecurity
/**
* @desc Primitive for receiving response from TA
*/
type boolean AcSecResponse;
* @desc TA primitives for GNSS
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
* @member loadScenario -
* @member startScenario -
* @member stopScenario -
* @member distanceCovered -
*/
type union AcGnssPrimitive {
AcLoadScenario loadScenario,
AcStartScenario startScenario,
AcStopScenario stopScenario,
AcDistanceToCover distanceToCover,
AcChangeSpeed changeSpeed,
AcChangeHeading changeHeading
}
/**
* @desc Primitive for receiving response from TA
*/
type boolean AcGnssResponse;
/**
* @desc Primitive for receiving an indication if requested distance was covered from TA
*/
type boolean AcGnssDistanceCovered;
/**
* @desc Primitive for loading a scenario
* @member scenario Scenario to load
*/
type record AcLoadScenario {
Scenario scenario
}
type enumerated Scenario {
e_staticPosition(0),
e_dynamicPosition200m(200),
e_dynamicPosition1000m(1000),
e_dynamicPosition1500m(1500)
}
/**
* @desc Primitive for starting the loaded scenario
*/
type record AcStartScenario {
}
/**
* @desc Primitive for stopping the loaded scenario
*/
type record AcStopScenario {
}
/**
* @desc Primitive to inform when given distance was covered
*/
type record AcDistanceToCover {
float distance
}
/**
* @desc Primitive to change speed in current scenario
*/
type record AcChangeSpeed {
SpeedValue deltaSpeed
}
/**
* @desc Primitive to change heading in current scenario
*/
type record AcChangeHeading {
HeadingValue deltaHeading
}
} // end acPrimitives
with {
encode "AdapterControl"
}