- 经验
- 62
- 分贝
- 0
- 家园分
- 266
- 在线时间:
- 147 小时
- 最后登录:
- 2019-9-19
- 帖子:
- 29
- 精华:
- 0
- 注册时间:
- 2011-7-16
- UID:
- 691547
注册:2011-7-16
|
最近需要解析NBAP协议。 所以用到了ASN,于是去3GPP网站(http://www.3gpp.org/ftp/Specs/html-info/25433.htm)下载了NBAP的某一个版本。把其中的ASN部分复制出来。
但是在编译ASN(用的开源的asn1c)的时候,在NBAP-PDU-Contents模块中的
CommonTransportChannelSetupRequestFDD ::= SEQUENCE {
protocolIEs ProtocolIE-Container {{CommonTransportChannelSetupRequestFDD-IEs}},
protocolExtensions ProtocolExtensionContainer {{CommonTransportChannelSetupRequestFDD-Extensions}} OPTIONAL,
...
}
CommonTransportChannelSetupRequestFDD-Extensions NBAP-PROTOCOL-EXTENSION ::= {
...
}
CommonTransportChannelSetupRequestFDD-IEs NBAP-PROTOCOL-IES ::= {
{ ID id-C-ID CRITICALITY reject TYPE C-ID PRESENCE mandatory } --这句话出现错误
{ ID id-ConfigurationGenerationID CRITICALITY reject TYPE ConfigurationGenerationID PRESENCE mandatory }|
{ ID id-CommonPhysicalChannelType-CTCH-SetupRqstFDD CRITICALITY ignore TYPE CommonPhysicalChannelType-CTCH-SetupRqstFDD PRESENCE mandatory },
...
}
不知道有没有人遇到这个问题。 请高手指点一下。
谢谢!!
|
|