4

This is my first question so please bear with me, I'm trying to find a good compiler to parse the following standard, I've tried asn1c and I wasn't able compile it successfully, the problem is that I didn't get any error, I tried with "-P" and there was no output, this is what I did

sn1c MAP-ShortMessageServiceOperations.EXP -P

The files in the link have been generated by SIEMENS and for some reason they are not the standard ASN.1

The question is how can I compile all these ASN files with asn1c or any other asn compiler?

and also I've tried snacc and didn't get anything useful from it either.

I'm trying to write a C application that will be running on Red-hat Linux

4

5 回答 5

5

一个很好的起点是http://www.itu.int/ITU-T/asn1/links/index.htm,其中列出了几个 ASN.1 编译器(免费和商业)。

您还可以在http://asn1-playground.oss.com上的免费在线编译器和编码器/解码器中尝试您的规范。

对于 3gpp 规范,您可能最好使用商业工具而不是免费工具之一。OSS Nokalva 在http://www.oss.com/asn1/products/asn1-download.html上提供其 ASN.1 工具的免费试用版。

于 2013-02-26T16:35:39.717 回答
2

http://www.itu.int/en/ITU-T/asn1/Pages/Tools.aspx提到了两个免费的 ASN.1 编译器,其中之一是

于 2016-02-02T13:55:09.063 回答
1

3GPP 规范的另一个工具是在线编码器/解码器http://3gpp-message-analyser.com它支持 UTRAN RANAP SABP RNSAP NBAP PCAP RUA HNBAP, E-UTRAN S1AP X2AP M2AP M3AP

于 2014-03-13T23:28:26.573 回答
1

您还可以在这里找到各种免费的在线 ASN.1 解码器: https ://www.marben-products.com/decoder-asn1/

我希望它有所帮助。安托

于 2018-08-24T13:42:45.017 回答
0

我遇到了这个编译器,它可以很好地从 ASN.1 生成 C 代码

https://github.com/ttsiodras/asn1scc

还有一个很好的介绍可以帮助您入门,这里:

https://www.thanassis.space/asn1.html

这是迄今为止唯一对我有用的编译器。

于 2021-12-27T16:17:44.473 回答