Commit 7dcfb78e authored by liuyu's avatar liuyu

release

parent ca1b91c0
...@@ -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
This diff is collapsed.
...@@ -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)
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment