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
6e8b801d
Commit
6e8b801d
authored
Apr 25, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use (SST, SD) to get the subscription information
parent
f750f1ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
src/smf_app/smf_app.cpp
src/smf_app/smf_app.cpp
+4
-1
src/smf_app/smf_config.hpp
src/smf_app/smf_config.hpp
+1
-1
No files found.
src/smf_app/smf_app.cpp
View file @
6e8b801d
...
@@ -1646,7 +1646,10 @@ bool smf_app::get_session_management_subscription_data(
...
@@ -1646,7 +1646,10 @@ bool smf_app::get_session_management_subscription_data(
for
(
int
i
=
0
;
i
<
smf_cfg
.
num_session_management_subscription
;
i
++
)
{
for
(
int
i
=
0
;
i
<
smf_cfg
.
num_session_management_subscription
;
i
++
)
{
if
((
0
==
dnn
.
compare
(
smf_cfg
.
session_management_subscription
[
i
].
dnn
))
and
if
((
0
==
dnn
.
compare
(
smf_cfg
.
session_management_subscription
[
i
].
dnn
))
and
(
snssai
.
sST
==
(
snssai
.
sST
==
smf_cfg
.
session_management_subscription
[
i
].
single_nssai
.
sST
))
{
smf_cfg
.
session_management_subscription
[
i
].
single_nssai
.
sST
)
and
(
0
==
snssai
.
sD
.
compare
(
smf_cfg
.
session_management_subscription
[
i
].
single_nssai
.
sD
)))
{
std
::
shared_ptr
<
dnn_configuration_t
>
dnn_configuration
=
std
::
shared_ptr
<
dnn_configuration_t
>
dnn_configuration
=
std
::
make_shared
<
dnn_configuration_t
>
();
std
::
make_shared
<
dnn_configuration_t
>
();
...
...
src/smf_app/smf_config.hpp
View file @
6e8b801d
...
@@ -238,7 +238,7 @@ class smf_config {
...
@@ -238,7 +238,7 @@ class smf_config {
std
::
string
api_version
;
std
::
string
api_version
;
}
nrf_addr
;
}
nrf_addr
;
#define SMF_NUM_SESSION_MANAGEMENT_SUBSCRIPTION_MAX
5
#define SMF_NUM_SESSION_MANAGEMENT_SUBSCRIPTION_MAX
10
struct
{
struct
{
snssai_t
single_nssai
;
snssai_t
single_nssai
;
std
::
string
session_type
;
std
::
string
session_type
;
...
...
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