Other articles


  1. The ASN1C Visual Studio Wizard

    You may or not be aware that ASN1C includes a Visual Studio Wizard that you can use from Visual Studio to build a library from one or more ASN.1 files. If you have at least ASN1C v732, the wizard is present and usable.

    The files for the wizard are …

    read more
  2. Improved TBCD and BCD Support for Java/C#

    Our next release of ASN1C (v 7.3) will include improved support for TBCD and BCD strings for Java and C#.  In short, for these types, the toString/ToString function will return the TBCD/BCD interpretation of the octets, rather than merely their hexadecimal representation.  This also improves the print …

    read more
  3. Re-using Decoded Items in a Subsequent Encoding

    This blog post attempts to provide advice about re-using items from a decoded message in a subsequent encoding of a different message.

    Let's look at the employee sample in the c/sample_ber/employee directory of the ASN1C SDK. The ASN.1 specification for this sample is fairly simple and looks …

    read more
  4. Compact code generation in ASN1C

    Published: Tue 27 March 2018
    By eday

    In ASN1C.

    ASN.1 is used in a lot of different areas and a new area that is within the Internet of Things (IoT).  In particular Narrowband IoT (NB-IoT) uses ASN.1 UPER-based messaging.

    One characteristic of these devices is they are small, so code size is critical.  We have been working …

    read more
  5. ASN1C 7.2 Improved Comment Handling

    In version 7.2, we improved our handling of ASN.1 comments, as follows.

    • When using the "Pretty-print ASN.1" (-asn1)  option, comments from type assignments and elements (SEQUENCE/SET/CHOICE components) are now included in the output.  Previously, pretty-printed ASN.1 did not include any ASN.1 comments in …
    read more
  6. Performance Improvements in ASN1C v7.2

    Published: Tue 06 February 2018
    By eday

    In ASN1C.

    One of the new features announced in the release of ASN1C v7.2 was improved C/C++ PER encode and decode performance.  This blog post provides some details on the improvements.

    We measured a number of different messages types, but two that stood out were the improvement in encoding and …

    read more
  7. Canonical OER

    Published: Fri 29 September 2017
    By dcoup

    In ASN1C.

    With ASN1C v7.1 it's possible to encode and decode OER in C according to the canonical OER rules. Canonical OER can be utilized by setting the ASN1CANON flag in the context before the encoding or decoding is done:
    rtxCtxtSetFlag(&ctxt, ASN1CANON);
    The Canonical sample in c/sample_oer illustrates using …
    read more

Page 1 / 5 »

links

social