Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-SMF
Commits
7dcfb78e
Commit
7dcfb78e
authored
Dec 25, 2023
by
liuyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release
parent
ca1b91c0
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
189 additions
and
516 deletions
+189
-516
.gitignore
.gitignore
+2
-1
smf.log
smf.log
+0
-393
src/smf_app/smf_context.cpp
src/smf_app/smf_context.cpp
+25
-0
src/udp/cooudp.cpp
src/udp/cooudp.cpp
+162
-122
No files found.
.gitignore
View file @
7dcfb78e
...
@@ -36,4 +36,5 @@ archives
...
@@ -36,4 +36,5 @@ archives
src/oai_rules_result*
src/oai_rules_result*
test_results_oai_smf.html
test_results_oai_smf.html
.vscode
.vscode
build
build
\ No newline at end of file
*.log
\ No newline at end of file
smf.log
deleted
100644 → 0
View file @
ca1b91c0
This diff is collapsed.
Click to expand it.
src/smf_app/smf_context.cpp
View file @
7dcfb78e
...
@@ -5009,6 +5009,8 @@ void smf_context::send_pdu_session_create_response(
...
@@ -5009,6 +5009,8 @@ void smf_context::send_pdu_session_create_response(
udpsmfcontext
[
"up_fseid"
]
=
sp
.
get
()
->
up_fseid
.
seid
;
udpsmfcontext
[
"up_fseid"
]
=
sp
.
get
()
->
up_fseid
.
seid
;
udpsmfcontext
[
"seid"
]
=
sp
.
get
()
->
seid
;
udpsmfcontext
[
"seid"
]
=
sp
.
get
()
->
seid
;
udpsmfcontext
[
"ipv4_address"
]
=
inet_ntoa
(
sp
.
get
()
->
ipv4_address
);
udpsmfcontext
[
"ipv4_address"
]
=
inet_ntoa
(
sp
.
get
()
->
ipv4_address
);
udpsmfcontext
[
"direction"
]
=
"ground_to_satellite"
;
UdpSend_smf
(
udpsmfcontext
,
"10.103.239.31"
,
20023
);
UdpSend_smf
(
udpsmfcontext
,
"10.103.239.31"
,
20023
);
resp
->
res
.
set_json_data
(
json_data
);
resp
->
res
.
set_json_data
(
json_data
);
...
@@ -5075,6 +5077,29 @@ void smf_context::send_pdu_session_update_response(
...
@@ -5075,6 +5077,29 @@ void smf_context::send_pdu_session_update_response(
trigger_ddds
(
scid
,
1
);
trigger_ddds
(
scid
,
1
);
trigger_pdusesest
(
scid
,
1
);
trigger_pdusesest
(
scid
,
1
);
trigger_flexcn_event
(
scid
,
1
);
trigger_flexcn_event
(
scid
,
1
);
Logger
::
smf_app
().
info
(
"---------------liuyu--udpsend"
,
scid
);
nlohmann
::
json
udpsmfcontext_to_ground
;
udpsmfcontext_to_ground
[
"scid"
]
=
scid
;
// udpsmfcontext_to_ground["supi"] = smf_supi_to_string(resp->res.get_supi());
// udpsmfcontext_to_ground["pdu_session_id"] = resp->res.get_pdu_session_id();
// udpsmfcontext_to_ground["dnn"] = resp->res.get_dnn();
// udpsmfcontext_to_ground["snssai"] = resp->res.get_snssai().toString();
// udpsmfcontext_to_ground["pdu_session_type"] = 1;
// supi64_t supi64 = smf_supi_to_u64(resp->res.get_supi());
// std::shared_ptr<smf_context> sc = {};
// sc = smf_app_inst->supi_2_smf_context(supi64);
// std::shared_ptr<smf_pdu_session> sp = {};
// sc.get()->find_pdu_session(resp->res.get_pdu_session_id(), sp);
// udpsmfcontext_to_ground["up_fseid"] = sp.get()->up_fseid.seid;
// udpsmfcontext_to_ground["seid"] = sp.get()->seid;
// udpsmfcontext_to_ground["ipv4_address"] = inet_ntoa(sp.get()->ipv4_address);
udpsmfcontext_to_ground
[
"direction"
]
=
"satellite_to_ground"
;
UdpSend_smf
(
udpsmfcontext_to_ground
,
"10.103.239.47"
,
20023
);
}
break
;
}
break
;
// UE-Triggered Service Request Procedure (Step 1)
// UE-Triggered Service Request Procedure (Step 1)
...
...
src/udp/cooudp.cpp
View file @
7dcfb78e
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment