Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to parse the "CONTAING SEQUENCE" msg immediately #164

Open
oppodgr opened this issue Jun 5, 2023 · 1 comment
Open

how to parse the "CONTAING SEQUENCE" msg immediately #164

oppodgr opened this issue Jun 5, 2023 · 1 comment

Comments

@oppodgr
Copy link

oppodgr commented Jun 5, 2023

No description provided.

@oppodgr
Copy link
Author

oppodgr commented Jun 5, 2023

Hello, as commented in title, when I was trying to decode a msg from 3gpp spec, where there were some formats as below:

UE-EUTRA-Capability-v940-IEs ::= SEQUENCE {
lateNonCriticalExtension OCTET STRING (CONTAINING SEQUENCE {
featureGroupIndRel9Add-r9 BIT STRING (SIZE (32)) OPTIONAL,
fdd-Add-UE-EUTRA-Capabilities-r9 UE-EUTRA-CapabilityAddXDD-Mode-r9 OPTIONAL,
tdd-Add-UE-EUTRA-Capabilities-r9 UE-EUTRA-CapabilityAddXDD-Mode-r9 OPTIONAL,
nonCriticalExtension UE-EUTRA-Capability-v9c0-IEs OPTIONAL
}) OPTIONAL,
nonCriticalExtension UE-EUTRA-Capability-v1020-IEs OPTIONAL
}

Notice that "CONTAINING SEQUENCE" in "lateNonCriticalExtension", however its format was OCTET STRING, so asn1tool would only support to parse it in OCTET string like
"lateNonCriticalExtension":"9C00000005E9000010...”
I'd like to parse the detail information as
"lateNonCriticalExtension":"CONTAINING
{
featureGroupIndRel9Add-r9 '11000000 00000000 00000000 00000000'B,
nonCriticalExtension
{
...”

Thanks a lot!

@oppodgr oppodgr changed the title how how to parse the "CONTAING SEQUENCE" msg immediately Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant