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

Issues when compile x2ap asn file. #72

Open
yorkz1994 opened this issue Dec 27, 2024 · 0 comments
Open

Issues when compile x2ap asn file. #72

yorkz1994 opened this issue Dec 27, 2024 · 0 comments

Comments

@yorkz1994
Copy link

I am trying the x2ap protocol with rasn. I first compiled the x2ap.asn file.

There are several issues in the compiled rust file.

  1. Some import(use) variables cannot be found because they are information objects in other module. Please see line 891-892, 15088-15091 in compiled file for the errored variables.

  2. A variable PrivateIEID is not imported(use) in module x2_ap__pdu__contents. Please see line 25585, 25590 in compiled file. I guess the generated anonymous struct may have impact.

  3. In line 25774, struct RRCTransfer has a sequence of member protocol_ies with type SequenceOf<RRCTransferProtocolIEs>, but in line 25763, pub struct RRCTransferProtocolIEs(pub SequenceOf<AnonymousRRCTransferProtocolIEs>) becomes another sequence of. This double sequence of leads to decoding panic. I guess the generated anonymous struct may have impact.
    x2ap.zip
    x2ap_asn.zip

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