Newer
Older
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
27
28
29
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
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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Index: ttcn/AtsCAM/ItsCam_TpFunctions.ttcn
===================================================================
--- ttcn/AtsCAM/ItsCam_TpFunctions.ttcn (revision 2583)
+++ ttcn/AtsCAM/ItsCam_TpFunctions.ttcn (working copy)
@@ -26,6 +26,7 @@
import from LibItsCommon_Templates all;
import from LibItsCommon_Functions all;
import from LibItsCommon_Pixits all;
+ import from LibItsCommon_ASN1_NamedNumbers all;
// LibItsCam
import from LibItsCam_TestSystem all;
@@ -557,7 +558,9 @@
f_CAM_MSD_INA_BV_01(
"Brake pedal being deactivated",
{ m_setAccelerationControlStatus(AccelerationControl_brakePedalEngaged_), m_setAccelerationControlStatus(c_accCtrlIdle) },
- { mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_brakePedalActive_On)), mw_camMsg_HF_BV(mw_HF_BV_accCtrl((omit, mw_brakePedalActive_Off))) }
+//FIXME RGY omit has been disallowed in value lists (see $B.1.2.1 of the standad), ifpresent shall be used instead
+// { mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_brakePedalActive_On)), mw_camMsg_HF_BV(mw_HF_BV_accCtrl((omit, mw_brakePedalActive_Off))) }
+ { mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_brakePedalActive_On)), mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_brakePedalActive_Off ifpresent)) }
);
// Postamble
@@ -629,7 +632,9 @@
f_CAM_MSD_INA_BV_01(
"Gas pedal being deactivated",
{ m_setAccelerationControlStatus(AccelerationControl_gasPedalEngaged_), m_setAccelerationControlStatus(c_accCtrlIdle) },
- { mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_gasPedalActive_On)), mw_camMsg_HF_BV(mw_HF_BV_accCtrl((omit, mw_gasPedalActive_Off))) }
+//FIXME RGY omit has been disallowed in value lists (see $B.1.2.1 of the standad), ifpresent shall be used instead
+// { mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_gasPedalActive_On)), mw_camMsg_HF_BV(mw_HF_BV_accCtrl((omit, mw_gasPedalActive_Off))) }
+ { mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_gasPedalActive_On)), mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_gasPedalActive_Off ifpresent)) }
);
// Postamble
@@ -701,7 +706,9 @@
f_CAM_MSD_INA_BV_01(
"Emergency brake being deactivated",
{ m_setAccelerationControlStatus(AccelerationControl_emergencyBrakeEngaged_), m_setAccelerationControlStatus(c_accCtrlIdle) },
- { mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_emergencyBrakeActive_On)), mw_camMsg_HF_BV(mw_HF_BV_accCtrl((omit, mw_emergencyBrakeActive_Off))) }
+//FIXME RGY omit has been disallowed in value lists (see $B.1.2.1 of the standad), ifpresent shall be used instead
+// { mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_emergencyBrakeActive_On)), mw_camMsg_HF_BV(mw_HF_BV_accCtrl((omit, mw_emergencyBrakeActive_Off))) }
+ { mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_emergencyBrakeActive_On)), mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_emergencyBrakeActive_Off ifpresent)) }
);
// Postamble
@@ -773,7 +780,9 @@
f_CAM_MSD_INA_BV_01(
"Collision warning being deactivated",
{ m_setAccelerationControlStatus(AccelerationControl_collisionWarningEngaged_), m_setAccelerationControlStatus(c_accCtrlIdle) },
- { mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_collisionWarningActive_On)), mw_camMsg_HF_BV(mw_HF_BV_accCtrl((omit, mw_collisionWarningActive_Off))) }
+//FIXME RGY omit has been disallowed in value lists (see $B.1.2.1 of the standad), ifpresent shall be used instead
+// { mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_collisionWarningActive_On)), mw_camMsg_HF_BV(mw_HF_BV_accCtrl((omit, mw_collisionWarningActive_Off))) }
+ { mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_collisionWarningActive_On)), mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_collisionWarningActive_Off ifpresent)) }
);
// Postamble
@@ -845,7 +854,9 @@
f_CAM_MSD_INA_BV_01(
"ACC being deactivated",
{ m_setAccelerationControlStatus(AccelerationControl_accEngaged_), m_setAccelerationControlStatus(c_accCtrlIdle) },
- { mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_accActive_On)), mw_camMsg_HF_BV(mw_HF_BV_accCtrl((omit, mw_accActive_Off))) }
+//FIXME RGY omit has been disallowed in value lists (see $B.1.2.1 of the standad), ifpresent shall be used instead
+// { mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_accActive_On)), mw_camMsg_HF_BV(mw_HF_BV_accCtrl((omit, mw_accActive_Off))) }
+ { mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_accActive_On)), mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_accActive_Off ifpresent)) }
);
// Postamble
@@ -917,7 +928,9 @@
f_CAM_MSD_INA_BV_01(
"Cruise control being deactivated",
{ m_setAccelerationControlStatus(AccelerationControl_cruiseControlEngaged_), m_setAccelerationControlStatus(c_accCtrlIdle) },
- { mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_cruiseControl_On)), mw_camMsg_HF_BV(mw_HF_BV_accCtrl((omit, mw_cruiseControl_Off))) }
+//FIXME RGY omit has been disallowed in value lists (see $B.1.2.1 of the standad), ifpresent shall be used instead
+// { mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_cruiseControl_On)), mw_camMsg_HF_BV(mw_HF_BV_accCtrl((omit, mw_cruiseControl_Off))) }
+ { mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_cruiseControl_On)), mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_cruiseControl_Off ifpresent)) }
);
// Postamble
@@ -989,7 +1002,9 @@
f_CAM_MSD_INA_BV_01(
"Speed limiter control being deactivated",
{ m_setAccelerationControlStatus(AccelerationControl_speedLimiterEngaged_), m_setAccelerationControlStatus(c_accCtrlIdle) },
- { mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_speedLimiterActive_On)), mw_camMsg_HF_BV(mw_HF_BV_accCtrl((omit, mw_speedLimiterActive_Off))) }
+//FIXME RGY omit has been disallowed in value lists (see $B.1.2.1 of the standad), ifpresent shall be used instead
+// { mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_speedLimiterActive_On)), mw_camMsg_HF_BV(mw_HF_BV_accCtrl((omit, mw_speedLimiterActive_Off))) }
+ { mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_speedLimiterActive_On)), mw_camMsg_HF_BV(mw_HF_BV_accCtrl(mw_speedLimiterActive_Off ifpresent)) }
);
// Postamble
@@ -1061,7 +1076,9 @@
f_CAM_MSD_INA_BV_01(
"Low beam headlights being deactivated",
{ m_setExteriorLightsStatus(ExteriorLights_lowBeamHeadlightsOn_), m_setExteriorLightsStatus(c_elAllLightsOff) },
- { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_lowBeamLightsOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights((omit, mw_lowBeamLightsOff))) }
+//FIXME RGY omit has been disallowed in value lists (see $B.1.2.1 of the standad), ifpresent shall be used instead
+// { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_lowBeamLightsOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights((omit, mw_lowBeamLightsOff))) }
+ { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_lowBeamLightsOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_lowBeamLightsOff ifpresent)) }
);
// Postamble
@@ -1133,7 +1150,9 @@
f_CAM_MSD_INA_BV_01(
"High beam headlights being deactivated",
{ m_setExteriorLightsStatus(ExteriorLights_highBeamHeadlightsOn_), m_setExteriorLightsStatus(c_elAllLightsOff) },
- { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_highBeamLightsOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights((omit, mw_highBeamLightsOff))) }
+//FIXME RGY omit has been disallowed in value lists (see $B.1.2.1 of the standad), ifpresent shall be used instead
+// { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_highBeamLightsOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights((omit, mw_highBeamLightsOff))) }
+ { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_highBeamLightsOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_highBeamLightsOff ifpresent)) }
);
// Postamble
@@ -1205,7 +1224,9 @@
f_CAM_MSD_INA_BV_01(
"Left turn signal being deactivated",
{ m_setExteriorLightsStatus(ExteriorLights_leftTurnSignalOn_), m_setExteriorLightsStatus(c_elAllLightsOff) },
- { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_leftTurnSignalOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights((omit, mw_leftTurnSignalOff))) }
+//FIXME RGY omit has been disallowed in value lists (see $B.1.2.1 of the standad), ifpresent shall be used instead
+// { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_leftTurnSignalOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights((omit, mw_leftTurnSignalOff))) }
+ { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_leftTurnSignalOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_leftTurnSignalOff ifpresent)) }
);
// Postamble
@@ -1277,7 +1298,9 @@
f_CAM_MSD_INA_BV_01(
"Right turn signal being deactivated",
{ m_setExteriorLightsStatus(ExteriorLights_rightTurnSignalOn_), m_setExteriorLightsStatus(c_elAllLightsOff) },
- { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_rightTurnSignalOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights((omit, mw_rightTurnSignalOff))) }
+//FIXME RGY omit has been disallowed in value lists (see $B.1.2.1 of the standad), ifpresent shall be used instead
+// { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_rightTurnSignalOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights((omit, mw_rightTurnSignalOff))) }
+ { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_rightTurnSignalOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_rightTurnSignalOff ifpresent)) }
);
// Postamble
@@ -1349,7 +1372,9 @@
f_CAM_MSD_INA_BV_01(
"Daytime running lights being deactivated",
{ m_setExteriorLightsStatus(ExteriorLights_daytimeRunningLightsOn_), m_setExteriorLightsStatus(c_elAllLightsOff) },
- { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_daytimeRunningLightsOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights((omit, mw_daytimeRunningLightsOff))) }
+//FIXME RGY omit has been disallowed in value lists (see $B.1.2.1 of the standad), ifpresent shall be used instead
+// { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_daytimeRunningLightsOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights((omit, mw_daytimeRunningLightsOff))) }
+ { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_daytimeRunningLightsOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_daytimeRunningLightsOff ifpresent)) }
);
// Postamble
@@ -1421,7 +1446,9 @@
f_CAM_MSD_INA_BV_01(
"Reverese light being deactivated",
{ m_setExteriorLightsStatus(ExteriorLights_reverseLightOn_), m_setExteriorLightsStatus(c_elAllLightsOff) },
- { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_reverseLightOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights((omit, mw_reverseLightOff))) }
+//FIXME RGY omit has been disallowed in value lists (see $B.1.2.1 of the standad), ifpresent shall be used instead
+// { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_reverseLightOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights((omit, mw_reverseLightOff))) }
+ { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_reverseLightOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_reverseLightOff ifpresent)) }
);
// Postamble
@@ -1493,7 +1520,9 @@
f_CAM_MSD_INA_BV_01(
"Fog lights being deactivated",
{ m_setExteriorLightsStatus(ExteriorLights_fogLightOn_), m_setExteriorLightsStatus(c_elAllLightsOff) },
- { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_fogLightOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights((omit, mw_fogLightOff))) }
+//FIXME RGY omit has been disallowed in value lists (see $B.1.2.1 of the standad), ifpresent shall be used instead
+// { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_fogLightOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights((omit, mw_fogLightOff))) }
+ { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_fogLightOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_fogLightOff ifpresent)) }
);
// Postamble
@@ -1565,7 +1594,9 @@
f_CAM_MSD_INA_BV_01(
"Parking lights being deactivated",
{ m_setExteriorLightsStatus(ExteriorLights_parkingLightsOn_), m_setExteriorLightsStatus(c_elAllLightsOff) },
- { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_parkingLightsOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights((omit, mw_parkingLightsOff))) }
+//FIXME RGY omit has been disallowed in value lists (see $B.1.2.1 of the standad), ifpresent shall be used instead
+// { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_parkingLightsOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights((omit, mw_parkingLightsOff))) }
+ { mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_parkingLightsOn)), mw_camMsg_LF_BV(mw_LF_BV_extLights(mw_parkingLightsOff ifpresent)) }
);
// Postamble
Index: ttcn/AtsDENM/ItsDenm_TpFunctions.ttcn
===================================================================
--- ttcn/AtsDENM/ItsDenm_TpFunctions.ttcn (revision 2583)
+++ ttcn/AtsDENM/ItsDenm_TpFunctions.ttcn (working copy)
@@ -18,6 +18,7 @@
import from LibItsCommon_TypesAndValues all;
import from LibItsCommon_Templates all;
import from LibItsCommon_Functions all;
+ import from LibItsCommon_ASN1_NamedNumbers all;
// LibIts
import from DENM_PDU_Descriptions language "ASN.1:1997" all;
Index: ttcn/AtsGeoNetworking/ItsGeoNetworking_TpFunctions.ttcn
===================================================================
--- ttcn/AtsGeoNetworking/ItsGeoNetworking_TpFunctions.ttcn (revision 2583)
+++ ttcn/AtsGeoNetworking/ItsGeoNetworking_TpFunctions.ttcn (working copy)
@@ -24,6 +24,7 @@
import from LibItsGeoNetworking_TypesAndValues all;
import from LibItsGeoNetworking_Pics all;
import from LibItsGeoNetworking_Pixits all;
+ import from LibItsGeoNetworking_EncdecDeclarations all;
// 6.2.1
group geoFormatingAndDataValidity {
@@ -3723,7 +3724,9 @@
// Local variables
var ItsGeoNetworking v_nodeB;
var ItsGeoNetworking v_nodeC;
- const UInt16 c_sequenceNumberC := f_getInitialSequenceNumber();
+//FIXME RGY c_sequenceNumberC shall not be constant as calls a function returning a variable
+// const UInt16 c_sequenceNumberC := f_getInitialSequenceNumber();
+ var UInt16 c_sequenceNumberC := f_getInitialSequenceNumber();
// Test control
if (not PICS_GN_GUC_SRC) {
@@ -3847,7 +3850,9 @@
// Local variables
var ItsGeoNetworking v_nodeB;
var ItsGeoNetworking v_nodeC;
- const UInt16 c_sequenceNumberC := f_getInitialSequenceNumber();
+//FIXME RGY c_sequenceNumberC shall not be constant as calls a function returning a variable
+// const UInt16 c_sequenceNumberC := f_getInitialSequenceNumber();
+ var UInt16 c_sequenceNumberC := f_getInitialSequenceNumber();
const integer c_messageCount := 2;
// Test control
@@ -8262,7 +8267,9 @@
// Local variables
var LongPosVector v_longPosVectorNodeB := f_getPosition(c_compNodeB);
- var template (present) GeoNetworkingInd v_msgInd;
+//FIXME RGY variable shall not be of template type, because a message is stored into it
+// var template (present) GeoNetworkingInd v_msgInd;
+ var /*template (present)*/ GeoNetworkingInd v_msgInd;
// Preamble
f_prNeighbour();
@@ -8288,7 +8295,9 @@
v_msgInd.msgIn.basicHeader.routerHopLimit := valueof(v_msgInd.msgIn.basicHeader.routerHopLimit) - 1;
f_sendGeoNetMessage(m_geoNwReq_linkLayerBroadcast(valueof(v_msgInd.msgIn)));
- v_msgInd.msgIn.basicHeader.routerHopLimit := ?;
+//FIXME RGY variable is not used after asigning AnyValue;
+// if a template is needed for some purpose a template variable should also be declared; see f_GEONW_PON_GBC_BO_06_nodeB
+// v_msgInd.msgIn.basicHeader.routerHopLimit := ?;
tc_noac.start;
alt {
[] a_receiveGeoBroadcast(
@@ -8507,7 +8516,9 @@
// Local variables
var LongPosVector v_longPosVectorNodeC := f_getPosition(c_compNodeC);
- var template (present) GeoNetworkingInd v_msgInd;
+ var template (present) GeoNetworkingInd vt_msgInd;
+//FIXME RGY variable is declared to store the received message
+ var GeoNetworkingInd v_msgInd;
// Preamble
f_prNeighbour();
@@ -8518,6 +8529,8 @@
?,
f_getGeoBroadcastArea(c_area2)
)))) -> value v_msgInd {
+//FIXME RGY the received value stored in the template variable too
+ vt_msgInd:= v_msgInd
tc_ac.stop;
log("*** " & testcasename() & ": PASS: Pre-conditions: GBC message correctly forwarded to area center ***");
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
@@ -8529,10 +8542,11 @@
}
// Test Body
- v_msgInd.msgIn.basicHeader.routerHopLimit := ?;
+//FIXME RGY for the AnyValue the template varibale is used
+ vt_msgInd.msgIn.basicHeader.routerHopLimit := ?;
tc_noac.start;
alt {
- [] geoNetworkingPort.receive(v_msgInd) {
+ [] geoNetworkingPort.receive(vt_msgInd) {
tc_noac.stop;
log("*** " & testcasename() & ": FAIL: GBC message re-forwarded to area center ***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
@@ -9074,7 +9088,9 @@
// Local variables
var LongPosVector v_longPosVectorNodeB := f_getPosition(c_compNodeB);
- var template (value) GeoNetworkingInd v_msgInd;
+//FIXME RGY variable shall not be of template type, because a message is stored into it
+// var template (value) GeoNetworkingInd v_msgInd;
+ var GeoNetworkingInd v_msgInd;
var integer i;
// Preamble
@@ -10130,7 +10146,9 @@
// Local variables
var LongPosVector v_longPosVectorNodeB := f_getPosition(c_compNodeB);
- var template (value) GeoNetworkingInd v_msgInd;
+//FIXME RGY variable shall not be of template type, because a message is stored into it
+// var template (value) GeoNetworkingInd v_msgInd;
+ var GeoNetworkingInd v_msgInd;
// Preamble
f_prNeighbour();
@@ -10644,7 +10662,9 @@
// Local variables
var LongPosVector v_longPosVectorNodeB := f_getPosition(c_compNodeB);
- var template (value) GeoNetworkingInd v_msgInd;
+//FIXME RGY variable shall not be of template type, because a message is stored into it
+// var template (value) GeoNetworkingInd v_msgInd;
+ var GeoNetworkingInd v_msgInd;
var integer i;
var template (value) GeoNetworkingPdu v_gnPacket;
@@ -11404,7 +11424,9 @@
// Local variables
var LongPosVector v_longPosVectorNodeC := f_getPosition(c_compNodeC);
- var template (present) GeoNetworkingInd v_msgInd;
+ var template (present) GeoNetworkingInd vt_msgInd;
+//FIXME RGY variable is declared to store the received message
+ var GeoNetworkingInd v_msgInd;
// Preamble
f_prNeighbour();
@@ -11421,6 +11443,8 @@
)
)
) -> value v_msgInd {
+//FIXME RGY the received value stored in the template variable too
+ vt_msgInd:= v_msgInd
tc_ac.stop;
log("*** " & testcasename() & ": PASS: Pre-conditions: GAC message correctly forwarded to area center ***");
f_selfOrClientSyncAndVerdict(c_prDone, e_success);
@@ -11432,10 +11456,11 @@
}
// Test Body
- v_msgInd.msgIn.basicHeader.routerHopLimit := ?;
+//FIXME RGY for the AnyValue the template varibale is used
+ vt_msgInd.msgIn.basicHeader.routerHopLimit := ?;
tc_noac.start;
alt {
- [] geoNetworkingPort.receive(v_msgInd) {
+ [] geoNetworkingPort.receive(vt_msgInd) {
tc_noac.stop;
log("*** " & testcasename() & ": FAIL: GAC message re-forwarded to area center ***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_error);
Index: ttcn/AtsIVIM/ItsIvim_TpFunctions.ttcn
===================================================================
--- ttcn/AtsIVIM/ItsIvim_TpFunctions.ttcn (revision 2583)
+++ ttcn/AtsIVIM/ItsIvim_TpFunctions.ttcn (working copy)
@@ -18,6 +18,7 @@
import from LibItsCommon_Pixits all;
import from LibItsCommon_Functions all;
import from LibItsCommon_TypesAndValues all;
+ import from LibItsCommon_ASN1_NamedNumbers all;
// LibIts
import from ITS_Container language "ASN.1:1997" all;
@@ -30,6 +31,7 @@
import from LibItsIvim_TestSystem all;
import from LibItsIvim_Functions all;
import from LibItsIvim_Pics all;
+ import from LibItsIvim_ASN1_IVInamedNumbers all;
group iviMessageTransmission {
Index: ttcn/AtsMapemSpatem/ItsMapem_TpFunctions.ttcn
===================================================================
--- ttcn/AtsMapemSpatem/ItsMapem_TpFunctions.ttcn (revision 2583)
+++ ttcn/AtsMapemSpatem/ItsMapem_TpFunctions.ttcn (working copy)
@@ -22,7 +22,7 @@
import from ITS_Container language "ASN.1:1997" all;
import from MAPEM_PDU_Descriptions language "ASN.1:1997" all;
import from SPATEM_PDU_Descriptions language "ASN.1:1997" all;
- import from DSRC language "ASN.1:1997" all;
+ import from IS_DSRC language "ASN.1:1997" all;
// LibItsMapemSpatem
import from LibItsMapemSpatem_TestSystem all;
Index: ttcn/AtsMapemSpatem/ItsSpatem_TpFunctions.ttcn
===================================================================
--- ttcn/AtsMapemSpatem/ItsSpatem_TpFunctions.ttcn (revision 2583)
+++ ttcn/AtsMapemSpatem/ItsSpatem_TpFunctions.ttcn (working copy)
@@ -22,7 +22,7 @@
import from ITS_Container language "ASN.1:1997" all;
import from MAPEM_PDU_Descriptions language "ASN.1:1997" all;
import from SPATEM_PDU_Descriptions language "ASN.1:1997" all;
- import from DSRC language "ASN.1:1997" all;
+ import from IS_DSRC language "ASN.1:1997" all;
// LibItsMapemSpatem
import from LibItsMapemSpatem_TestSystem all;
Index: ttcn/AtsRSUsSimulator/ItsRSUSimulator_PicsInitConsts.ttcn
===================================================================
--- ttcn/AtsRSUsSimulator/ItsRSUSimulator_PicsInitConsts.ttcn (nonexistent)
+++ ttcn/AtsRSUsSimulator/ItsRSUSimulator_PicsInitConsts.ttcn (working copy)
@@ -0,0 +1,5590 @@
+module ItsRSUSimulator_PicsInitConsts {
+
+ // LibCommon
+ import from LibCommon_BasicTypesAndValues all;
+
+ // LibIts
+ import from ITS_Container language "ASN.1:1997" all;
+ import from IVI language "ASN.1:1997" all;
+ import from IS_DSRC language "ASN.1:1997" all;
+
+ // LibItsCommon
+ import from LibItsCommon_ASN1_NamedNumbers all;
+
+ // LibItsBtp
+ import from LibItsBtp_TypesAndValues all;
+
+ // LibItsGeoNetworking
+ import from LibItsGeoNetworking_TypesAndValues all;
+
+ // LibItsSecurity
+ import from LibItsSecurity_TypesAndValues all;
+
+ // ItsRSUsSimulator
+ import from ItsRSUsSimulator_TypesAndValues all;
+
+ /**
+ * @desc This group describes the RSUs installed on the track
+ */
+ group rsuParameters {
+
+ /**
+ * @desc RSU #1
+ */
+ group rsu1 {
+
+ /**
+ * @desc RSU GN address
+ */
+ const GN_Address c_PICS_RSU_GN_ADDRESS_RSU1 := {
+ typeOfAddress := e_manual,
+ stationType := e_roadSideUnit,
+ stationCountryCode := 33,
+ mid := 'AABBCCDDEE01'O
+ } // End of c_PICS_RSU_GN_ADDRESS_RSU1
+
+ const RsuParm c_PICS_RSU1 := {
+ longPosVector := {
+ gnAddr := c_PICS_RSU_GN_ADDRESS_RSU1,
+ timestamp_ := 0,
+ latitude := 435529150,
+ longitude := 103010520,
+ pai := '0'B,
+ speed := 0,
+ heading := 0
+ },
+ stationID := 1111101,
+ stationType := StationType_roadSideUnit_,
+ vehicleRole := roadOperator,
+ geoShape := e_geoCircle,
+ geoParms := {
+ radius := 5000
+ },
+ pathHistory := c_PICS_RSU_PATH_HISTORY_RSU1
+ } // End of c_PICS_RSU1
+
+ /**
+ * @desc Path history to approch the RSU
+ */
+ const PathHistory c_PICS_RSU_PATH_HISTORY_RSU1 := {};
+
+ } // End of group rsu1
+
+ /**
+ * @desc RSU #2
+ */
+ group rsu2 {
+
+ /**
+ * @desc RSU GN address
+ */
+ const GN_Address c_PICS_RSU_GN_ADDRESS_RSU2 := {
+ typeOfAddress := e_manual,
+ stationType := e_roadSideUnit,
+ stationCountryCode := 33,
+ mid := 'AABBCCDDEE02'O
+ } // End of c_PICS_RSU_GN_ADDRESS_RSU2
+
+ const RsuParm c_PICS_RSU2 := {
+ longPosVector := {
+ gnAddr := c_PICS_RSU_GN_ADDRESS_RSU2,
+ timestamp_ := 0,
+ latitude := 435512090,
+ longitude := 103002510,
+ pai := '0'B,
+ speed := 0,
+ heading := 0
+ },
+ stationID := 1111102,
+ stationType := StationType_roadSideUnit_,
+ vehicleRole := roadOperator,
+ geoShape := e_geoCircle,
+ geoParms := {
+ radius := 5000
+ },
+ pathHistory := c_PICS_RSU_PATH_HISTORY_RSU2
+ } // End of c_PICS_RSU2
+
+ /**
+ * @desc Path history to approch the RSU
+ */
+ const PathHistory c_PICS_RSU_PATH_HISTORY_RSU2 := {};
+
+ } // End of group rsu2
+
+ /**
+ * @desc RSU #3
+ */
+ group rsu3 {
+
+ /**
+ * @desc RSU GN address
+ */
+ const GN_Address c_PICS_RSU_GN_ADDRESS_RSU3 := {
+ typeOfAddress := e_manual,
+ stationType := e_roadSideUnit,
+ stationCountryCode := 33,
+ mid := 'AABBCCDDEE03'O
+ } // End of c_PICS_RSU_GN_ADDRESS_RSU3
+
+ const RsuParm c_PICS_RSU3 := {
+ longPosVector := {
+ gnAddr := c_PICS_RSU_GN_ADDRESS_RSU3,
+ timestamp_ := 0,
+ latitude := 435546630,
+ longitude := 103041900,
+ pai := '0'B,
+ speed := 0,
+ heading := 0
+ },
+ stationID := 1111103,
+ stationType := StationType_roadSideUnit_,
+ vehicleRole := roadOperator,
+ geoShape := e_geoCircle,
+ geoParms := {
+ radius := 5000
+ },
+ pathHistory := c_PICS_RSU_PATH_HISTORY_RSU3
+ } // End of c_PICS_RSU3
+
+ /**
+ * @desc Path history to approch the RSU
+ */
+ const PathHistory c_PICS_RSU_PATH_HISTORY_RSU3 := {};
+
+ } // End of group rsu3
+
+ /**
+ * @desc RSU #4
+ */
+ group rsu4 {
+
+ /**
+ * @desc RSU GN address
+ */
+ const GN_Address c_PICS_RSU_GN_ADDRESS_RSU4 := {
+ typeOfAddress := e_manual,
+ stationType := e_roadSideUnit,
+ stationCountryCode := 33,
+ mid := 'AABBCCDDEE04'O
+ } // End of c_PICS_RSU_GN_ADDRESS_RSU4
+
+ const RsuParm c_PICS_RSU4 := {
+ longPosVector := {
+ gnAddr := c_PICS_RSU_GN_ADDRESS_RSU4,
+ timestamp_ := 0,
+ latitude := 435582150,
+ longitude := 103065170,
+ pai := '0'B,
+ speed := 0,
+ heading := 0
+ },
+ stationID := 1111104,
+ stationType := StationType_roadSideUnit_,
+ vehicleRole := roadOperator,
+ geoShape := e_geoCircle,
+ geoParms := {
+ radius := 5000
+ },
+ pathHistory := c_PICS_RSU_PATH_HISTORY_RSU4
+ } // End of c_PICS_RSU4
+
+ /**
+ * @desc Path history to approch the RSU
+ */
+ const PathHistory c_PICS_RSU_PATH_HISTORY_RSU4 := {};
+
+ } // End of group rsu4
+
+ /**
+ * @desc RSU #5
+ */
+ group rsu5 {
+
+ /**
+ * @desc RSU GN address
+ */
+ const GN_Address c_PICS_RSU_GN_ADDRESS_RSU5 := {
+ typeOfAddress := e_manual,
+ stationType := e_roadSideUnit,
+ stationCountryCode := 33,
+ mid := 'AABBCCDDEE05'O
+ } // End of c_PICS_RSU_GN_ADDRESS_RSU5
+
+ const RsuParm c_PICS_RSU5 := {
+ longPosVector := {
+ gnAddr := c_PICS_RSU_GN_ADDRESS_RSU5,
+ timestamp_ := 0,
+ latitude := 435838400,
+ longitude := 103249780,
+ pai := '0'B,
+ speed := 0,
+ heading := 0
+ },
+ stationID := 1111105,
+ stationType := StationType_roadSideUnit_,
+ vehicleRole := roadOperator,
+ geoShape := e_geoCircle,
+ geoParms := {
+ radius := 5000
+ },
+ pathHistory := c_PICS_RSU_PATH_HISTORY_RSU5
+ } // End of c_PICS_RSU5
+
+ /**
+ * @desc Path history to approch the RSU
+ */
+ const PathHistory c_PICS_RSU_PATH_HISTORY_RSU5 := {};
+
+ } // End of group rsu5
+
+ /**
+ * @desc RSU #6
+ */
+ group rsu6 {
+
+ /**
+ * @desc RSU GN address
+ */
+ const GN_Address c_PICS_RSU_GN_ADDRESS_RSU6 := {
+ typeOfAddress := e_manual,
+ stationType := e_roadSideUnit,
+ stationCountryCode := 33,
+ mid := 'AABBCCDDEE06'O
+ } // End of c_PICS_RSU_GN_ADDRESS_RSU6
+
+ const RsuParm c_PICS_RSU6 := {
+ longPosVector := {
+ gnAddr := c_PICS_RSU_GN_ADDRESS_RSU6,
+ timestamp_ := 0,
+ latitude := 435923480,
+ longitude := 103375540,
+ pai := '0'B,
+ speed := 0,
+ heading := 0
+ },
+ stationID := 1111106,
+ stationType := StationType_roadSideUnit_,
+ vehicleRole := roadOperator,
+ geoShape := e_geoCircle,
+ geoParms := {
+ radius := 5000
+ },
+ pathHistory := c_PICS_RSU_PATH_HISTORY_RSU6
+ } // End of c_PICS_RSU6
+
+ /**
+ * @desc Path history to approch the RSU
+ */
+ const PathHistory c_PICS_RSU_PATH_HISTORY_RSU6 := {};
+
+ } // End of group rsu6
+
+ /**
+ * @desc RSU #7
+ */
+ group rsu7 {
+
+ /**
+ * @desc RSU GN address
+ */
+ const GN_Address c_PICS_RSU_GN_ADDRESS_RSU7 := {
+ typeOfAddress := e_manual,
+ stationType := e_roadSideUnit,
+ stationCountryCode := 33,
+ mid := 'AABBCCDDEE07'O
+ } // End of c_PICS_RSU_GN_ADDRESS_RSU7
+
+ const RsuParm c_PICS_RSU7 := {
+ longPosVector := {
+ gnAddr := c_PICS_RSU_GN_ADDRESS_RSU7,
+ timestamp_ := 0,
+ latitude := 435550580,
+ longitude := 103032980,
+ pai := '0'B,
+ speed := 0,
+ heading := 0
+ },
+ stationID := 1111107,
+ stationType := StationType_roadSideUnit_,
+ vehicleRole := roadOperator,
+ geoShape := e_geoCircle,
+ geoParms := {
+ radius := 5000
+ },
+ pathHistory := c_PICS_RSU_PATH_HISTORY_RSU7
+ } // End of c_PICS_RSU7
+
+ /**
+ * @desc Path history to approch the RSU
+ */
+ const PathHistory c_PICS_RSU_PATH_HISTORY_RSU7 := {};
+
+ } // End of group rsu7
+
+ /**
+ * @desc RSU #8
+ */
+ group rsu8 {
+
+ /**
+ * @desc RSU GN address
+ */
+ const GN_Address c_PICS_RSU_GN_ADDRESS_RSU8 := {
+ typeOfAddress := e_manual,
+ stationType := e_roadSideUnit,
+ stationCountryCode := 33,
+ mid := 'AABBCCDDEE08'O
+ } // End of c_PICS_RSU_GN_ADDRESS_RSU8
+
+ const RsuParm c_PICS_RSU8 := {
+ longPosVector := {
+ gnAddr := c_PICS_RSU_GN_ADDRESS_RSU8,
+ timestamp_ := 0,
+ latitude := 435546630,
+ longitude := 103041900,
+ pai := '0'B,
+ speed := 0,
+ heading := 0
+ },
+ stationID := 1111108,
+ stationType := StationType_roadSideUnit_,
+ vehicleRole := roadOperator,
+ geoShape := e_geoCircle,
+ geoParms := {
+ radius := 5000
+ },
+ pathHistory := c_PICS_RSU_PATH_HISTORY_RSU8
+ } // End of c_PICS_RSU8
+
+ /**
+ * @desc Path history to approch the RSU
+ */
+ const PathHistory c_PICS_RSU_PATH_HISTORY_RSU8 := {};
+
+ } // End of group rsu8
+
+ } // End of group rsuParameters
+
+ /*
+ * @desc This group describes the BEACON common settings for the RSUs CAM message broadcast
+ */
+ group beaconParams {
+
+ /**
+ * @desc Common settings
+ */
+ group beaconCommonSettings {
+
+ const UInt32 c_PICS_BEACON_ITS_AID := 141;
+
+ } // End of group beaconCommonSettings
+
+ } // End of group beaconParams
+
+ /**
+ * @desc This group describes the CAM common settings for the RSUs CAM message broadcast
+ */
+ group camParams {
+
+ /**
+ * @desc Common settings
+ */
+ group camCommonSettings {
+
+ const BtpPortId c_PICS_CAM_BTP_DESTINATION_PORT := 2001;
+
+ const BtpPortId c_PICS_CAM_BTP_SOURCE_PORT := 0;
+
+ const UInt32 c_PICS_CAM_ITS_AID := 36;
+
+ } // End of group camCommonSettings
+
+ group camUseCase6 {
+
+ group camUseCase6VehicleTemplateDescription {
+
+ const LongPosVector c_PICS_UC6_VEHICLE_TEMPLATE_POSITION := {
+ gnAddr := {
+ typeOfAddress := e_manual,
+ stationType := e_passengerCar,
+ stationCountryCode := 33,
+ mid := '000ACCDDEEFF'O
+ },
+ timestamp_ := 0,
+ latitude := 0,
+ longitude := 0,
+ pai := '0'B,
+ speed := 30,
+ heading := 0
+ } // End of c_PICS_UC6_VEHICLE_POSITION
+
+ const GeoArea c_PICS_UC6_VEHICLE_TEMPLATE_GEOAREA := {
+ shape := e_geoElip,
+ area := {
+ geoAreaPosLatitude := 0,
+ geoAreaPosLongitude := 0,
+ distanceA := 5,
+ distanceB := 3,
+ angle := 0
+ }
+ } // End of c_PICS_UC6_VEHICLE_GEOAREA
+
+ } // End of group camUseCase6VehicleDescription
+
+ group camUseCase6SyncLocation {
+
+ /**
+ * @desc Coordinates of the collision point
+ */
+ const TwoDLocation PICS_UC6_COLLISION_POINT := {
+ latitude := 433310000,
+ longitude := 101803000
+ } // End of c_PICS_UC6_COLLISION_POINT
+
+ /**
+ * @desc Vehicle detection area
+ */
+ const RectangularRegion c_PICS_UC6_CAM_DETECTION_AREA := {
+ northwest := {
+ latitude := 435523210,
+ longitude := 103000210
+ },
+ southeast := {
+ latitude := 435528290,
+ longitude := 103010320
+ }
+ } // End of c_PICS_UC6_CAM_DETECTION_AREA
+
+ } // End of group camUseCase6SyncLocation
+
+ } // End of group camUseCase6
+
+ group camUseCase7 {
+
+ /**
+ * @desc RSU GN address
+ */
+ const GN_Address c_PICS_UC7_GN_ADDRESS := {
+ typeOfAddress := e_manual,
+ stationType := e_bus,
+ stationCountryCode := 39,
+ mid := '001C6B0DEEEE'O
+ } // End of c_PICS_UC7_GN_ADDRESS
+
+ const RsuParm c_PICS_UC7_LPV := {
+ longPosVector := {
+ gnAddr := c_PICS_UC7_GN_ADDRESS,
+ timestamp_ := 0,
+ latitude := 435582150,
+ longitude := 103065170,
+ pai := '0'B,
+ speed := 0,
+ heading := 10
+ },
+ stationID := 7895,
+ stationType := StationType_passengerCar_,
+ vehicleRole := taxi,
+ geoShape := e_geoCircle,
+ geoParms := {
+ radius := 300
+ },
+ pathHistory := {}
+ } // End of c_PICS_UC7_LPV
+
+ const ReferencePosition c_PICS_UC7_COLLISION_POINT := {
+ latitude := 435582150,
+ longitude := 103065170,
+ positionConfidenceEllipse := {
+ semiMajorConfidence := 100,
+ semiMinorConfidence := 100,
+ semiMajorOrientation := HeadingValue_wgs84North_
+ },
+ altitude := {
+ altitudeValue := AltitudeValue_referenceEllipsoidSurface_,
+ altitudeConfidence := unavailable
+ }
+ } // End of c_PICS_UC7_COLLISION_POINT
+
+ } // End of group camUseCase7
+
+ group camUseCase9 {
+
+ const ProtectedCommunicationZone c_PICS_USECASE9_PCZ_1 := {
+ protectedZoneType := cenDsrcTolling,
+ expiryTime := omit,
+ protectedZoneLatitude := 435838400,
+ protectedZoneLongitude := 103249780,
+ protectedZoneRadius := 255,
+ protectedZoneID := 1
+ } // End of c_PICS_USECASE9_PCZ_1
+
+ } // End of group camUseCase7
+
+ } // End of group camParams
+
+ /**
+ * @desc This group describes the DENM common settings for the each use cases and for each RSU.
+ */
+ group denmEvents {
+
+ /**
+ * @desc Common settings
+ */
+ group denmCommonSettings {
+
+ const BtpPortId c_PICS_DENM_BTP_DESTINATION_PORT := 2002;
+
+ const BtpPortId c_PICS_DENM_BTP_SOURCE_PORT := 0;
+
+ const UInt32 c_PICS_DENM_ITS_AID := 37;
+
+ const PosConfidenceEllipse c_PICS_DENM_POSITION_CONFIDENCE_ELLIPSE := {
+ semiMajorConfidence := 100,
+ semiMinorConfidence := 100,
+ semiMajorOrientation := HeadingValue_wgs84North_
+ } // End of c_PICS_DENM_POSITION_CONFIDENCE_ELLIPSE
+
+ const Altitude c_PICS_DENM_ALTITUDE := {
+ altitudeValue := AltitudeValue_referenceEllipsoidSurface_,
+ altitudeConfidence := unavailable
+ } // End of c_PICS_DENM_ALTITUDE
+
+ /**
+ * @desc DENM repetition interval, in ms
+ */
+ const TransmissionInterval c_PICS_DENM_REPETITION_INTERVAL := 1000;
+
+ /**
+ * @desc DENM RelevanceDistance
+ */
+ const RelevanceDistance c_PICS_DENM_RELEVANCE_DISTANCE := lessThan200m;
+
+ /**
+ * @desc DENM ValidityDuration
+ */
+ const ValidityDuration c_PICS_DENM_VALIDITY_DURATION := 90 * 60; // 90 minutes
+
+ /**
+ * @desc DENM RelevanceTrafficDirection
+ */
+ const RelevanceTrafficDirection c_PICS_DENM_RELEVANCE_TRAFFIC_DIRECTION := upstreamTraffic;
+
+
+ } // End of group denmCommonSettings
+
+ /**
+ * @desc Use case #1: Z1-D1-SL/Speed limit
+ */
+ group denmUseCase1 {
+
+ /**
+ * @desc Use case #1: Z1-D1-EP/Event position
+ */
+ group denmZone1 {
+
+ const SpeedLimit c_PICS_SPEED_LIMIT := 30;
+
+ group denmZone1_D1 {
+
+ /**
+ * @desc Z1-D1-EP/POS0
+ */
+ const DeltaReferencePosition c_PICS_Z1_D1_POS0 := {
+ deltaLatitude := 4659,
+ deltaLongitude := 7205,
+ deltaAltitude := 0
+ }; // End of c_PICS_Z1_D1_POS0
+
+ /**
+ * @desc Z1-D1-EP/POS1
+ */
+ const ReferencePosition c_PICS_Z1_D1_EP := {
+ latitude := 435525352, // Z1-D1-EP/latitude