NAS/C Encoder Decoder Library for 5G Documentation

Applies to: NAS/C 5G r15.4.0 v7.1.0

Introduction

The NAS/C Encoder Decoder Library for 5G is a software development tool that facilitates the creation of user applications that need to produce, encode, decode, and process messages conforming to 3GPP TS 24.501 (Non-Access-Stratum protocol). This version of the NAS/C Encoder Decoder Library for 5G supports 3GPP TS 24.501 version 15.4.0. Contact OSS Nokalva at info@oss.com if you need to support a different version of NAS.

The tool consists of

  • A C header file (ossNAS.h) containing OSS NAS API function prototypes and type definitions.
  • A C header file containing definitions of C data structures capable of holding an in-memory representation of a message for a specific version of the 3GPP NAS protocol, for example, NAS5GS1540.h.
  • Encoder/decoder libraries capable of converting a (binary) NAS message into an in-memory representation utilizing the above C data structures, and vice versa.

Refer to doc/FILE-LIST.TXT for a complete list of files in this software distribution.

The OSS NAS/C API (application program interface), which is implemented by the OSS NAS/C 5G encoder/decoder libraries, is a collection of functions designed to be called by your application to encode, decode, and perform auxiliary operations on messages (or protocol data units) specified in the 3GPP TS 24.501 (NAS) version supported by the tool.

Among other things, the included functions allow

  • Encoding and decoding NAS protocol data units.
  • Printing encoded or undecoded NAS protocol data units in XML and JSON forms.
  • Copying NAS protocol data units to different destinations.
  • Comparing unencoded or decoded NAS protocol data units.

This documentation applies to the NAS/C Encoder Decoder Library for 5G v7.1.0 for 3GPP Release 15.4.0.

Copyright © 2020 OSS Nokalva, Inc. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means electronic, mechanical, photocopying, recording or otherwise, without the prior permission of OSS Nokalva, Inc.
Every distributed copy of the NAS/C Encoder Decoder Library for 5G is associated with a specific license and related unique license number. That license determines, among other things, what functions of the NAS/C Encoder Decoder Library for 5G are available to you.