We recently released an add-on package for the ASN1C ASN.1 compiler that allows Java code to be generated for encoding and decoding 3GPP layer 3 messages as defined in the NAS 5G specifications (TS 24.501). The add-on installs ASN.1 specifications that contain special markup that provides an approximation of these message types. It also provides custom Java code snippets that are injected by the compiler into places where custom coding was required.

Our white paper "Using ASN.1 to Describe 3GPP Messages" describes how the ASN.1 was modeled to accomplish this.

The advantage of the SDK addon versus a standard API is that the provided specifications can be modified to support variations and/or future releases of the protocol messages. An evaluation of the SDK add-on can be downloaded from the following URL:

NAS/RRC add-on for ASN1C SDK

(Note: user registration is required).

Further information is available on our 3GPP API's web page.