asn1c icon indicating copy to clipboard operation
asn1c copied to clipboard

Service Update Delete List PDU deocde fails with E2AP 1.0/1.1 specifications.

Open jayshah3008 opened this issue 4 years ago • 0 comments

=============================

Problem: While using oran specified e2ap v1.0 asn specifications, Could not decode Service Update with Delete ID list IE present in PDU.

Encoding: ATS_UNALIGNED_CANONICAL_PER/ATS_ALIGNED_BASIC_PER/ATS_BER/XER What is expected: E2AP Service update PDU should be encoded and decoded as below:

	InitiatingMessage ::= {
		procedureCode: 7
		criticality: 0 (reject)
		value: RICserviceUpdate ::= {
			protocolIEs: ProtocolIE-Container ::= {
				RICserviceUpdate-IEs ::= {
					id: 11
					criticality: 0 (reject)
					value: RANfunctionsID-List ::= {
						ProtocolIE-SingleContainer ::= {
							id: 6
							criticality: 0 (reject)
							value: RANfunctionID-Item ::= {
								ranFunctionID: 123
								ranFunctionRevision: 234
							}
						}
					}
				}
			}
		}
	}
	
	

What we received post decode:

PDU Encoding was success,

Encoded PDU Size: 22
PDU encoded Succesfully

However, deocde failes as below.

errbuf value: no CHOICE element given (constr_CHOICE.c:532) Decode Failure Consumed: 0 InitiatingMessage ::= { procedureCode: 7 criticality: 0 (reject) value: }

jayshah3008 avatar May 27 '21 10:05 jayshah3008