E2AP and E2SM-RC version upgrade to E2aP v.2.0 and E2SM-RC to v1.0.1
[ric-app/rc.git] / e2sm / lib / RIC-ControlAction-ID.c
index b0a0178..839a7b2 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
- * From ASN.1 module "E2SM-KPM-RC"
- *     found in "e2sm-kpm-rc.asn"
+ * From ASN.1 module "E2SM-RC-IEs"
+ *     found in "e2sm-rc-nov2021.asn"
  *     `asn1c -fcompound-names -fno-include-deps -findirect-choice -pdu=auto -gen-PER -gen-OER -no-gen-example -D .`
  */
 
@@ -21,7 +21,7 @@ RIC_ControlAction_ID_constraint(const asn_TYPE_descriptor_t *td, const void *spt
        
        value = *(const long *)sptr;
        
-       if((value >= 0 && value <= 65535)) {
+       if((value >= 1 && value <= 65535)) {
                /* Constraint check succeeded */
                return 0;
        } else {
@@ -37,10 +37,10 @@ RIC_ControlAction_ID_constraint(const asn_TYPE_descriptor_t *td, const void *spt
  * so here we adjust the DEF accordingly.
  */
 static asn_oer_constraints_t asn_OER_type_RIC_ControlAction_ID_constr_1 CC_NOTUSED = {
-       { 2, 1 }        /* (0..65535) */,
+       { 0, 0 },
        -1};
 asn_per_constraints_t asn_PER_type_RIC_ControlAction_ID_constr_1 CC_NOTUSED = {
-       { APC_CONSTRAINED,       16,  16,  0,  65535 }  /* (0..65535) */,
+       { APC_CONSTRAINED | APC_EXTENSIBLE,  16,  16,  1,  65535 }      /* (1..65535,...) */,
        { APC_UNCONSTRAINED,    -1, -1,  0,  0 },
        0, 0    /* No PER value map */
 };