maxime-esa / asn1scc

ASN1SCC: An open source ASN.1 compiler for embedded systems

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Telecommunications support

swthorn opened this issue · comments

Hi,

I've been trying to compile the S1AP or NGAP protocol using asn1scc, however, I get many errors:

❯ ./asn1-docker.sh -c -uPER 36413-h30.asn
36413-h30.asn:209:26: error: mismatched input 'OPTIONAL' expecting R_BRACKET

relevant ASN def:
image

Parsing only another section of the spec gives:

❯ ./asn1-docker.sh -c -uPER 36413-h30.asn
36413-h30.asn:213:20: error: missing FROM at '{'

image

I suspect there are many more issues, but I am wondering what the level of support is for telecommunications ASN.1 specs in general. The ASN.1 spec I am using is defined by the 3GPP at https://portal.3gpp.org/desktopmodules/Specifications/SpecificationDetails.aspx?specificationId=2446#

The entire spec: 36413-h30.txt.

Thanks in advance!

Hi,
At the moment ASN1SCC does not support Information Object Classes as this is something for which we currently have found no use case in space applications. The tool is for now exclusively focused on data types and binary encoding.

Of course we would support external contributions if there is some interest to add these features.

Kind regards,
Maxime