Generated C files for E2AP v2.0
[sim/e2-interface.git] / e2sim / e2sm_examples / kpm_e2sm / src / ASN1c / GNB-ID-Choice.c
index 2894314..274bcec 100644 (file)
@@ -1,8 +1,8 @@
 /*
  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
  * From ASN.1 module "E2AP-IEs"
- *     found in "e2ap-v01.01.00.asn"
- *     `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -gen-PER -no-gen-OER -no-gen-example`
+ *     found in "e2ap-v2.asn"
+ *     `asn1c -pdu=auto -fincludes-quoted -fcompound-names -findirect-choice -fno-include-deps -gen-PER -no-gen-example`
  */
 
 #include "GNB-ID-Choice.h"
@@ -38,11 +38,17 @@ memb_gnb_ID_constraint_1(const asn_TYPE_descriptor_t *td, const void *sptr,
        }
 }
 
+static asn_oer_constraints_t asn_OER_memb_gnb_ID_constr_2 CC_NOTUSED = {
+       { 0, 0 },
+       -1      /* (SIZE(22..32)) */};
 static asn_per_constraints_t asn_PER_memb_gnb_ID_constr_2 CC_NOTUSED = {
        { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
        { APC_CONSTRAINED,       4,  4,  22,  32 }      /* (SIZE(22..32)) */,
        0, 0    /* No PER value map */
 };
+static asn_oer_constraints_t asn_OER_type_GNB_ID_Choice_constr_1 CC_NOTUSED = {
+       { 0, 0 },
+       -1};
 asn_per_constraints_t asn_PER_type_GNB_ID_Choice_constr_1 CC_NOTUSED = {
        { APC_CONSTRAINED | APC_EXTENSIBLE,  0,  0,  0,  0 }    /* (0..0,...) */,
        { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
@@ -54,7 +60,7 @@ asn_TYPE_member_t asn_MBR_GNB_ID_Choice_1[] = {
                -1,     /* IMPLICIT tag at current level */
                &asn_DEF_BIT_STRING,
                0,
-               { 0, &asn_PER_memb_gnb_ID_constr_2,  memb_gnb_ID_constraint_1 },
+               { &asn_OER_memb_gnb_ID_constr_2, &asn_PER_memb_gnb_ID_constr_2,  memb_gnb_ID_constraint_1 },
                0, 0, /* No default value */
                "gnb-ID"
                },
@@ -80,7 +86,7 @@ asn_TYPE_descriptor_t asn_DEF_GNB_ID_Choice = {
        0,      /* No effective tags (count) */
        0,      /* No tags (pointer) */
        0,      /* No tags (count) */
-       { 0, &asn_PER_type_GNB_ID_Choice_constr_1, CHOICE_constraint },
+       { &asn_OER_type_GNB_ID_Choice_constr_1, &asn_PER_type_GNB_ID_Choice_constr_1, CHOICE_constraint },
        asn_MBR_GNB_ID_Choice_1,
        1,      /* Elements count */
        &asn_SPC_GNB_ID_Choice_specs_1  /* Additional specs */