Skip to content

Add Python as a supported programming language #244

Answered by maxime-esa
ThibFrgsGmz asked this question in Q&A
Discussion options

You must be logged in to vote

There are Python bindings for ASN1SCC developed in 3rd party software and integrated in the TASTE virtual machine (download from https://taste.tools)

The core bindings are generated by the DMT toolset (git clone https://gitrepos.estec.esa.int/taste/dmt ; cd dmt; make install). You may check this article that gives an example to use it: https://www.thanassis.space/asn1.html

The simplest way to generate the Python bindings is to run:

$ asn2dataModel -toPython fileA.asn fileA.acn

The bindings allow to create instances of the ASN.1 types using a Python ctypes interface. You can read and change the values using a simple Get/Set API, and call the uPER and ACN encoding and decoding functions wh…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ThibFrgsGmz
Comment options

@maxime-esa
Comment options

@ThibFrgsGmz
Comment options

@maxime-esa
Comment options

Answer selected by maxime-esa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants