Open maolala opened 10 months ago
Sorry, this is probably to complex for me to debug. All I can say at the moment is that there were a couple of fixes to APER, so perhaps the current vlm_master would behave correctly on open5gs. Please give it another try if you can.
The ASN file i used is in the open5gs github: https://github.com/open5gs/open5gs/blob/main/lib/asn1c/support/ngap-r17.3.0/38413-h30.asn
ASNC1 Compiler is the latest version.
The pcap file is: decode_error.tar.gz
Unit test code snippet
decode_snippet.tar.gz
I am not very familiar with ASN1. I used GDB to analyze and found out that the log printing (Decoding unconstrained integer ExpectedIdlePeriod) when decoding expectedIdlePeriod is different from expectedUEActivityBehaviour,But their definitions in ASN1 are the same.
ExpectedActivityPeriod ::= INTEGER (1..30|40|50|60|80|100|120|150|180|181, ...) ExpectedIdlePeriod ::= INTEGER (1..30|40|50|60|80|100|120|150|180|181, ...)
Here's the full debug log and some log snippet, Sincerely seek help from @mouse07410
fail_log.tar.gz
Member CoreNetworkAssistanceInformationForInactive->expectedUEBehaviour is optional, p=1 (3->4) (src/constr_SEQUENCE_aper.c:110) Decoding member "expectedUEBehaviour" in CoreNetworkAssistanceInformationForInactive (src/constr_SEQUENCE_aper.c:130) Decoding ExpectedUEBehaviour as SEQUENCE (APER) (src/constr_SEQUENCE_aper.c:40)