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
090858b7
Commit
090858b7
authored
Sep 23, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for SST (uint8_t instead of string)
parent
68dab34e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/smf_app/smf_sbi.cpp
src/smf_app/smf_sbi.cpp
+2
-2
No files found.
src/smf_app/smf_sbi.cpp
View file @
090858b7
...
...
@@ -905,8 +905,8 @@ bool smf_sbi::get_sm_data(
// Verify SNSSAI
if
(
jsonData
.
find
(
"singleNssai"
)
==
jsonData
.
end
())
return
false
;
if
(
jsonData
[
"singleNssai"
].
find
(
"sst"
)
!=
jsonData
[
"singleNssai"
].
end
())
{
std
::
string
sst
=
jsonData
[
"singleNssai"
][
"sst"
]
;
if
(
sst
.
compare
(
std
::
to_string
(
snssai
.
sST
))
!=
0
)
{
uint8_t
sst
=
jsonData
[
"singleNssai"
][
"sst"
].
get
<
uint8_t
>
()
;
if
(
sst
!=
snssai
.
sST
)
{
return
false
;
}
}
...
...
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