Comments (3)
The asn1c provides primitives for BER encoding. It does not support encoding data using INDEFINITE lengths out of the box. I recommend you changing some generated top-level structure of your protocol (that'd be SEQUENCE OF or SET OF, most probably) to use INDEFINITE length encoding, while retaining all of the DEFINITE length encoding machinery on the lower levels. This way, you'll probably meet your constraints while having a very limited set of changes to do in the generated code.
from asn1c.
I am sorry, I was not being very clear...let me put it this way: How do I disable PER and XER code generation?
from asn1c.
There is no way to disable them, although they add extremely little to the code base. You can manually remove xer__.c and per__.c files from the compilation and create stubs for the functions that are called out of these modules.
from asn1c.
Related Issues (20)
- fatal_error: asn_application.h: No such file or directory
- Is this library actually working? HOT 3
- sysexits.h error HOT 1
- /usr/bin/ld: converter-sample.o:(.data.rel+0x0): undefined reference to `asn_DEF_PDU' HOT 3
- Extensible integer with a max value in the extension UPER decoding
- definition of struct ProtocolIE_SingleContainer missing HOT 1
- 'Member' cannot be defined in a parameter type
- setenv and unsetenv not working in Windows
- Unable to parse the asn file for mms in wireshark because it references an external structure HOT 2
- v0.9.28 - Leftshift of negative value
- Problem installing HOT 4
- Problem switching between the versions of asn1c in Windows
- Where the "timezone" variable is defined.
- No defination of random() in asn_random_fill.c HOT 2
- Problem compiling: contains no objects
- make check in skeletons fails to build on WSL 22.4
- Syntax error: token "WITH" HOT 1
- undefined reference to BIT_STRING_decode_oer , OCTET_STRING_decode_oer in ASN1C compiler
- Tried generating coverage report for this but getting lcov error
- Getting Segmentation fault on running asn1c with some changes to source file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asn1c.