X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=e2sm%2Flib%2FRIC-ControlAction-ID.c;h=839a7b2940756e3c55bb8c5380e86bd41cc11fa6;hb=refs%2Fchanges%2F61%2F8461%2F1;hp=b0a017897ba9ff278ff764acb17e2c1dccc067cc;hpb=a68d14ca01424a51cc7c9dd24b46282784301cba;p=ric-app%2Frc.git diff --git a/e2sm/lib/RIC-ControlAction-ID.c b/e2sm/lib/RIC-ControlAction-ID.c index b0a0178..839a7b2 100644 --- a/e2sm/lib/RIC-ControlAction-ID.c +++ b/e2sm/lib/RIC-ControlAction-ID.c @@ -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 */ };