-
Notifications
You must be signed in to change notification settings - Fork 129
Is it possible to decode containers within 3GPP messages while decoding the message? #206
Comments
If you wish to decode everything in a single pass, you will need to build enhanced ASN.1 modules gathering RRC3G, RRCLTE and RRCNR (and maybe more), and use table constraint and evolved ASN.1 features (which are not used in RRC specifications). |
Thanks for your feedback, much appreciated. |
partially answering my own question for people that might need it: As I am working with PDU decoded in JSON, I can use the excellent jsonpath-ng to search through the message using JSONPath to look for PDU to decode and then decode them. For example, with the RRC PDUs in the UeCapability message. the 3GPP 38.331 indeed doesn't decode these capability containers (called ue-CapabilityRAT-Container) directly inside the message. Each container is defined in the ASN.1 as an octet string and later in the ASN.1 definition the container is described but no link between these two are defined. my function above becomes:
It is a bit dirty but it gives the proper result and can still be improved. The downside is that list such as SUB_PDUS_RRC must be manually filled in. |
Looks good to me. I wasn't aware of |
Hi,
I am integrating your solution to decode 3GPP protocols (RRC, NAS, NGAP). I just found out that when I decode a RRC message for example, if a container is present, it won't be decoded but instead displayed as a PDU.
Is there a way to automatically decode containers as part of their parent messages/PDU? At least when it is the same protocol, this would exclude NAS container of RRC messages for example (but that could be customised depending on your answer).
Here's my call on your API
a ueCapability information message will return this for example:
when I call:
Thanks for your help,
The text was updated successfully, but these errors were encountered: