---
# System prepended metadata

title: 2 - 6 March 2020
tags: [Study Note]

---

# 2 - 6 March 2020
###### tags: `Study Note`

## Daily Report 3 March 2020
- Reviewed Intern's last week report.
- Finishing up the OAI Orientation
-- LTE background
-- OAI background based on LTE
-- Linux Command + Git Command + Wireshark Tool + Iperf
-- NB-IoT Introduction

Notes: the Linux, Git, Wireshark, and Iperf are in Mandarin. Learned from other sites.

## Daily Report 4 March 2020
- learn about F1 Interface

notes : https://hackmd.io/@JoDocs/Hy8JURhEL

## Daily Report 5 March 2020
- Open RST files
- Convert docx to RST

notes: https://hackmd.io/@JonathanOranDocs/HJUktIA48
problems: sometimes got warning, but can still be used.

## Daily Report 6 March 2020
- add conversion option for RST
- learn about F1 interface, DU update procedure. not finished yet.

## Result
### Study the F1 Interface

F1 Interface notes: [notes](https://hackmd.io/@JonathanOranDocs/SJdw_Yp7L/%2Fz6FPc6ORTOu2wC_AbFXOIQ)

The graph below shows how the CU and DU interacted when initialized.
![](https://i.imgur.com/gj2w7hh.png)

based on the Amber Release's code [amber release](https://wiki.o-ran-sc.org/pages/viewpage.action?pageId=14221337)

The main function of **CU** is
> o-du.l2\src\cu_stub\cu_stub.c : tst(void)

The main function of **DU** is
> o-du.l2\src\du_app\du_mgr_main.c : tst(void)

#### How CU handling the F1 Messages?

the main will handling the F1 Messages as follows

> ..\cu_stub\cu_stub.c : tst()        # this function is main
> ..\cu_stub\cu_stub_sctp.c : sctopActvInit()
> ..\du_app\F1AP\f1ap_msg_hdl : F1InmsgHdlr()
> ..\du_app\F1AP\f1ap_msg_hdl : buildF1SetupRsp()# this function will handle the DU's Setup Request Reception by CU.


#### How DU handling the F1 Messages?

the main will handling the F1 Messages as follows

> ..\du_app\du_mgr_main.c : : tst()        # this function is main
> ..\du_app\du_mgr_main.c : duInit()
> ..\du_app\du_mgr_main.c : commonInit()
> ..\du_app\du_mgr_main.c : duAppInit()
> ..\du_app\du_mgr_ex_ms.c : duActvTsk()
> ..\du_app\du_msg_hdl.c : duSctpNtfyHdl()
> ..\du_app\F1AP\f1ap_msg_hdl : BuildF1SetupReq()   # this function wil handle the setup message


???
based on the Amber Release code,
F1 Setup Request contains:
1. Transaction_Id
2. DU_Id
3. Du_Name

F1 Setup Response contains:
1. Transaction_Id
2. Cu_Name
3. RRC_Version


### The RST file

- Main Page: [reStructuredText (RST)](/@JonathanOranDocs/HJUktIA48)
- How to Open: [Open .RST files](/Efqfws7dTpiMiRN4Xq_I9w)
- File cobersion to RST using Pandoc[Convert to RST](/_eVdHFXBQpmKFeXV-K23KQ)
- Pandoc Installation on Ubuntu:  [Install Pandoc](/IkMoJaNGTBGc0Mktzo1ikw), Will add installation on windows if needed
- [Mass docx to rst conversion](/jsC-CgKtT1mq7yLCGUS_7A?sync=&type=)