-
Notifications
You must be signed in to change notification settings - Fork 17
Description
I am trying the x2ap
protocol with rasn. I first compiled the x2ap.asn
file.
There are several issues in the compiled rust file.
-
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.
-
A variable
PrivateIEID
is not imported(use) in modulex2_ap__pdu__contents
. Please see line 25585, 25590 in compiled file. I guess the generated anonymous struct may have impact. -
In line 25774, struct
RRCTransfer
has asequence of
memberprotocol_ies
with typeSequenceOf<RRCTransferProtocolIEs>
, but in line 25763,pub struct RRCTransferProtocolIEs(pub SequenceOf<AnonymousRRCTransferProtocolIEs>)
becomes anothersequence of
. This doublesequence of
leads to decoding panic. I guess the generated anonymous struct may have impact.
x2ap.zip
x2ap_asn.zip