18 Star 84 Fork 29

O5G / O5G

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

O5G

介绍

O5G有两层意思

  1. 噢,5G!
  2. open source 5G implementation,5G(5G-CN、5G-RAN、5G-UE)开源实现

目录结构

├── app
│   ├── bin  编译生成的可执行文件目录
│   └── config  配置文件目录
├── lib  库目录
│   ├── 3rdParty  第三方库
│   └── csp  公共基础库
├── src
│   ├── ccore  中央核心部分
│   │   ├── asn1c
│   │   ├── f1
│   │   ├── fapi
│   │   ├── gtpu
│   │   ├── ng
│   │   └── sctp
│   ├── o5gcn  CN源码目录
│   │   ├── amf
│   │   ├── app
│   │   ├── include
│   │   ├── lcore  CN本地核心部分
│   │   ├── smf
│   │   └── upf
│   ├── o5gran  RAN源码目录
│   │   ├── app
│   │   ├── include
│   │   ├── l1
│   │   ├── l2
│   │   ├── l3
│   │   └── lcore  RAN本地核心部分
│   └── o5gue  UE源码目录
│       ├── app
│       ├── include
│       ├── l1
│       ├── l2
│       ├── l3
│       ├── lcore  UE本地核心部分
│       └── nas
├── tests  测试用例
│   ├── app
│   │   ├── bin  编译生成的测试可执行文件目录
│   │   └── config  测试配置文件目录
│   ├── common
│   ├── lib
│   ├── moduleTests  模块测试目录
│   └── systemTests  集成测试目录
└── tools

编译说明

编译环境
  1. Ubuntu 20.04
  2. gcc version 9.3.0
  3. cmake version 3.16.3
安装依赖
  1. sudo apt-get install libsctp-dev lksctp-tools

其他LINUX环境应该也不会有什么问题,但没有验证。

下载源码
  1. git clone https://gitee.com/o5g/o5g.git
  2. cd o5g
  3. git submodule update --init --recursive
  4. cd lib/csp
  5. git checkout tags/v0.0.1

第三步是把O5G依赖的通用服务平台CSP checkout下来。CSP是一个独立工程,作为O5G的一个git submodule。

编译发行版本
  1. mkdir build-release
  2. cd build-release
  3. cmake -DCMAKE_BUILD_TYPE=Release -G "CodeBlocks - Unix Makefiles" ..
  4. make -j 8

在app/bin目录下会生成CN_APP、RAN_APP、UE_APP三个可执行文件。

编译测试版本
  1. mkdir build-test
  2. cd build-test
  3. cmake -DCMAKE_BUILD_TYPE=Debug -DO5G_TEST=1 -G "CodeBlocks - Unix Makefiles" ..
    • make -j 8 //仅编译
    • make run -j 8 //编译并且运行单元测试

在tests/app/bin目录下会生成TEST_APP可执行文件,运行TEST_APP执行测试用例。

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

更多请参考

O5G WIKI

MIT License Copyright (c) 2020 OSI-5G Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

open source 5G implementation, 5G(5G-CN、5G-RAN、5G-UE)开源实现 展开 收起
C 等 4 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C
1
https://gitee.com/o5g/o5g.git
git@gitee.com:o5g/o5g.git
o5g
o5g
O5G
master

搜索帮助

14c37bed 8189591 565d56ea 8189591