Chapter 10. Generated Medical Device Encoding Rules (MDER) Functions

Table of Contents

Generated MDER Encode Functions
Generated MDER Decode Functions
Two-Phase Messaging

Note

MDER is available only as a professional compiler option. The encoding and decoding functions are built on top of ASN1C's streaming functions and will not work with the typical buffer-based implementations seen in BER or PER. When introduced in version 6.4, no C++ implementation for MDER was available.

The Medical Device Encoding Rules (MDER) are described in IEEE standard 11073-20601-2008, Annex F. This standard describes a simplified encoding to be used across medical devices. ASN1C can generate encoders and decoders for specifications based on the IEEE standard, which uses a strict subset of ASN.1.

To generate encoding and decoding functions, use the -mder switch on the command-line or select the appropriate option in the GUI. The following sections describe the generated encoding and decoding functions. Descriptions of the MDER run time functions may be found in our C MDER Runtime Library Reference Manual.