Closed DevD3339 closed 2 years ago
As you can see from the F1AP specification, the DUtoCURRCContainer is just an OCTET STRING:
In [7]: F1AP_IEs.DUtoCURRCContainer
Out[7]: <DUtoCURRCContainer (OCTET STRING)>
This probably means that the DU is not required to deal with what's inside the container. If you want to decode the content of it, you need to read the 3GPP TS 38.473, section 9.2.3.1: you may need some structures from the NR RRC specifications, such as:
In [8]: from pycrate_asn1dir.RRCNR import *
In [9]: NR_RRC_Definitions.CellGroupConfig
Take care as all RRC messages are UPER encoded, and not APER.
Thanks, it worked.
Should I open another question?
Another question is - when we replay the binary data of any F1AP msg, it decodes perfectly, but when we replay the IEs by building the complete msg or just substituting like val = ('initiatingMessage', {'procedureCode': 1, 'criticality': 'ignore', 'value' : ('F1SetupRequest', {'protocolIEs': IEs})}) it throws ASN.1 raise(ASN1ObjErr('{0}: invalid value, {1!r}'.format(self.fullname(), val)))
IEs which we decoded earlier and extracted.
If it says "invalid value", it means the value you built is invalid.
OK, but the msg was decoded, and rebuilt the msg with the extracted value. NO manipulation in between. Any ideas how can we resolve.
Please provide the code that triggers this issue, otherwise I cannot help you.
Hi, I am trying to decode the DUtoCURRCContainer of F1AP msg (InitialULRRCMessageTransfer), raises an error of bitlen overflow.
Could anyone help me to resolve the issue and point out where am I going wrong.
Thanks
Python 3.6.9 (default, Oct 8 2020, 12:12:24) [GCC 8.4.0] on linux Type "help", "copyright", "credits" or "license" for more information.