asn1scc
asn1scc copied to clipboard
ASN1SCC: An open source ASN.1 compiler for embedded systems
### Discussed in https://github.com/ttsiodras/asn1scc/discussions/246 Originally posted by **ThibFrgsGmz** September 23, 2022 Hi, Please correct me if I have misunderstood the way to use `ASN.1`. To serialize a message according to...
Hi, I am trying to use asn1scc to compile the 3GPP standard 38331 h20 ASN1 into C , and I got the following error: 38331-h20.asn:54:0: error: Cyclic dependencies detected :...
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 9.0.1 to 13.0.1. Release notes Sourced from Newtonsoft.Json's releases. 13.0.1 New feature - Add JsonSelectSettings with configuration for a regex timeout Change - Remove portable assemblies from...
When using the __Encode_ functions, it is possible that they randomly fail if the output buffer is not previously initialized to 0. Depending on the specific circumstances, the failure can...
Let's consider the following ASN.1 file: ``` MYMODULE DEFINITIONS ::= BEGIN MyArray ::= SEQUENCE (SIZE(20)) OF INTEGER (1..20) MySeq ::= SEQUENCE { data MyArray(SIZE(20)) } END ``` C file that...
Let's consider the following code: ``` RecordWithAnOptionalField ::= SEQUENCE { requiredItem DataUnit, optionalItem1 AlternativeDataUnit OPTIONAL, optionalItem2 AlternativeDataUnit OPTIONAL } DerivedRecord ::= RecordWithAnOptionalField (WITH COMPONENTS {optionalItem1 ABSENT, optionalItem1 PRESENT}) ``` optionalItem1...
Should contain also parametrized argument list with possible constraints. Also - instances should reference which parametrized type they instantiate and list used parameters.
Assume there is a inner CHOICE in a structure and I want to initialize one of its options. C code could look like this: ``` s.innerChoice.k = option2_PRESENT; XXXXXX_Init(s.innerChoice.u.option2); ```...
It would be helpful to generate `#define`s for named bit string positions, as in: ```asn FruitSalad ::= BIT STRING { apple(0), banana(1), pear(2) } (SIZE (8)) ``` Which could become...
The first step in the implementation of Python code generation. Referenced to #125