OSS NAS Tools for C for 5G Documentation

Applies to: NAS/C 5G r15.6.0 v7.1.8

Introduction

The OSS NAS Tools for C 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 OSS NAS Tools for C for 5G supports 3GPP TS 24.501 version 15.6.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, NAS5GS1560.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 Tools for C for 5G, 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

  • Serialization and deserialization of NAS messages.
  • Converting a binary NAS message to JSON or XML format.
  • Converting a JSON or XML message to binary NAS format.
  • Copying and comparing unencoded or decoded NAS messages.

This documentation applies to the OSS NAS Tools for C for 5G v7.1.8 for 3GPP Release 15.6.0.

Copyright © 2024 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 OSS NAS Tools for C for 5G is associated with a specific license and related unique license number. That license determines, among other things, what functions of the OSS NAS Tools for C for 5G are available to you.