esa / asn1scc

ASN1SCC: An open source ASN.1 compiler for embedded systems
https://www.thanassis.space/asn1.html
Other
272 stars 58 forks source link

Docker hub's image is outdated #221

Closed Nodraak closed 3 years ago

Nodraak commented 3 years ago

Hi again!

Sorry for bothering you so much! For an internal project at my company, I am investigating how to generate an ICD (html/pdf) from the ASN.1 definition file. We already have an ASN.1 parser to generate another format, but to generate the ICD it could make sense to reuse existing software.

The README.md specify that the easiest way is to use the docker image ttsiodras/asn1scc. On the Docker hub, this image is very old (5 years). One issue I noticed: it does not support the --acn-enc flag.

Could you update it? Alternatively, the README.md could be rewritten to instruct people to not use this option.

Thanks!

maxime-esa commented 3 years ago

To generate ICDs you may refer to the examples in this page:

https://taste.tuxfamily.org/wiki/index.php?title=Technical_topic:_Hints_to_model_complex_packet_encodings_with_ASN.1_and_ACN

ttsiodras commented 3 years ago

I just updated the Docker hub image - and also committed the code necessary to create it ( https://github.com/ttsiodras/asn1scc/commit/8047567c061454ee197e52d5e072a278fcf1b458 )

Nodraak commented 3 years ago

Thanks a lot @ttsiodras!

Nodraak commented 3 years ago

To generate ICDs you may refer to the examples in this page:

https://taste.tuxfamily.org/wiki/index.php?title=Technical_topic:_Hints_to_model_complex_packet_encodings_with_ASN.1_and_ACN

Hum, I did not know this page. It looks interesting, thanks!