Git Product home page Git Product logo

gnbsim's Introduction

gnbsim

gnbsim is a 5G SA gNB/UE (Release 16) simulator for testing 5GC system. The project is aimed to understand 5GC system more efficiently than just reading 3GPP standard documents.

Getting Started

Prerequisites

  • golang environment on linux host.
    • gnbsim can complete 'Initial Registration'.
    • gnbsim cannot complete 'PDU Session Establishment' for now.
    • I will try to update my code step by step...
  • running free5gc somewhere.
    • subscriber has been registered by free5gc web console.
    • change 'ngapIPList' to external ip address in 'amfcfg.conf'

Installing and testing

  • Download the related files.
$ git clone https://github.com/hhorai/gnbsim.git
  • Build example binary.
$ cd gnbsim/example
$ go build
  • Edit the configuration file. In case of free5gc with default configuration, it might not be needed to edit, excluding 'msin' parameter.
$ vi example.json
  • run 'example' with 'ip' option and specify the AMF ip address.
$ ./example -ip <AMF NGAP listen ip address set above>
  • Then you can find the following line in the debug message. In this case, your configuration for free5gc and gnbsim are both correct.
***** Integrity check passed
  • And you could also find your UE in 'subscriber' page of free5gc web console. In my environment, free5gc dashboard doesn't show my UE, but the actual transfered packet that is respond from web conole includes the information (PLMN and IMSI) of it in json format.

gnbsim's People

Contributors

horaih avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.