Commit b7b16fd1 authored by filatov's avatar filatov
Browse files

mw_identifiedRegion_iso3166_any

parent 959fedab
Loading
Loading
Loading
Loading
+27 −3
Original line number Original line Diff line number Diff line
@@ -66,6 +66,23 @@ module LibItsSecurity_Templates {
        const Int32 c_minLatitude  := -900000000; 
        const Int32 c_minLatitude  := -900000000; 
        const Int32 c_maxLatitude  :=  900000000;
        const Int32 c_maxLatitude  :=  900000000;
        
        
        const RegionIdentifiers c_iso3166Codes:= {
            4,   8,  10,  12,  16,  20,  24,  28,  31,  32,  36,  40,  44,  48,  50,  51,  52,  56,
           60,  64,  68,  70,  72,  74,  76,  84,  86,  90,  92,  96, 100, 104, 108, 112, 116, 120,
          124, 132, 136, 140, 144, 148, 152, 156, 158, 162, 166, 170, 174, 175, 178, 180, 184, 188,
          191, 192, 196, 203, 204, 208, 212, 214, 218, 222, 226, 231, 232, 233, 234, 238, 239, 242,
          246, 248, 250, 254, 258, 260, 262, 266, 268, 270, 275, 276, 288, 292, 296, 300, 304, 308,
          312, 316, 320, 324, 328, 332, 334, 336, 340, 344, 348, 352, 356, 360, 364, 368, 372, 376,
          380, 384, 388, 392, 398, 400, 404, 408, 410, 414, 417, 418, 422, 426, 428, 430, 434, 438,
          440, 442, 446, 450, 454, 458, 462, 466, 470, 474, 478, 480, 484, 492, 496, 498, 499, 500,
          504, 508, 512, 516, 520, 524, 528, 531, 533, 534, 535, 540, 548, 554, 558, 562, 566, 570,
          574, 578, 580, 581, 583, 584, 585, 586, 591, 598, 600, 604, 608, 612, 616, 620, 624, 626,
          630, 634, 638, 642, 643, 646, 652, 654, 659, 660, 662, 663, 666, 670, 674, 678, 682, 686,
          688, 690, 694, 702, 703, 704, 705, 706, 710, 716, 724, 728, 729, 732, 740, 744, 748, 752,
          756, 760, 762, 764, 768, 772, 776, 780, 784, 788, 792, 795, 796, 798, 800, 804, 807, 810,
          818, 826, 831, 832, 833, 834, 840, 850, 854, 858, 860, 862, 876, 882, 887, 894 
        }
        
    } // End of group constants
    } // End of group constants
    
    
    /**
    /**
@@ -601,7 +618,7 @@ module LibItsSecurity_Templates {
             * @param p_id_region  Indentified region
             * @param p_id_region  Indentified region
             * @see Draft ETSI TS 103 097 V1.1.6 Clause 4.2.21  GeographicRegion
             * @see Draft ETSI TS 103 097 V1.1.6 Clause 4.2.21  GeographicRegion
             */
             */
            template (present) GeographicRegion mww_geographicRegion_identifiedRegion(
            template (present) GeographicRegion mw_geographicRegion_identifiedRegion(
                                                                                     in template (present) IdentifiedRegion p_id_region
                                                                                     in template (present) IdentifiedRegion p_id_region
            ) := {
            ) := {
                region_type := e_id,
                region_type := e_id,
@@ -615,11 +632,18 @@ module LibItsSecurity_Templates {
             * @param p_id_region  Indentified region
             * @param p_id_region  Indentified region
             * @see Draft ETSI TS 103 097 V1.1.6 Clause 4.2.21  GeographicRegion
             * @see Draft ETSI TS 103 097 V1.1.6 Clause 4.2.21  GeographicRegion
             */
             */
            template (present) GeographicRegion mw_geographicRegion_nonce := {
            template (present) GeographicRegion mw_geographicRegion_none := {
                region_type := e_none,
                region_type := e_none,
                region := omit
                region := omit
            } // End of template mw_geographicRegion_nonce
            } // End of template mw_geographicRegion_nonce


            template (present) IdentifiedRegion mw_identifiedRegion_iso3166_any
            := {
                region_dictionary := e_iso_3166_1,
                region_identifier := (all from c_iso3166Codes),
                local_region := ?
            }
            
        } // End of group basicFormatElementsRecv
        } // End of group basicFormatElementsRecv
        
        
    } // End of group dummyBasicFormatElements 
    } // End of group dummyBasicFormatElements 
+2 −0
Original line number Original line Diff line number Diff line
@@ -402,6 +402,8 @@ module LibItsSecurity_TypesAndValues {
            e_un_stats    (1)
            e_un_stats    (1)
        } with { variant "8 bit" }
        } with { variant "8 bit" }
        
        
        type record of UInt16 RegionIdentifiers;

    } // End of group basicFormatElements
    } // End of group basicFormatElements
    
    
    group SecurityMessages {
    group SecurityMessages {