Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
oai-cn5g-nrf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
cn5g
oai-cn5g-nrf
Commits
fae876c1
Commit
fae876c1
authored
1 year ago
by
Tien-Thinh Nguyen
Browse files
Options
Downloads
Patches
Plain Diff
Fix AMF_ID format (uint32_t)
parent
84c3f539
Branches
new-jenkins
Branches containing commit
No related tags found
1 merge request
!51
Fix AMF_ID format (uint32_t)
Pipeline
#39623
failed
1 year ago
Stage: external
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/common/3gpp_23.003.h
+1
-1
1 addition, 1 deletion
src/common/3gpp_23.003.h
src/common/utils/api_conversions.cpp
+1
-2
1 addition, 2 deletions
src/common/utils/api_conversions.cpp
src/nrf_app/nrf_profile.cpp
+1
-1
1 addition, 1 deletion
src/nrf_app/nrf_profile.cpp
with
3 additions
and
4 deletions
src/common/3gpp_23.003.h
+
1
−
1
View file @
fae876c1
...
...
@@ -145,7 +145,7 @@ typedef struct allowed_nssai_s /*5G ADD it*/
typedef
struct
guami_s
{
plmn_t
plmn
;
std
::
string
amf_id
;
uint32_t
amf_id
;
}
guami_t
;
#endif
This diff is collapsed.
Click to expand it.
src/common/utils/api_conversions.cpp
+
1
−
2
View file @
fae876c1
...
...
@@ -161,8 +161,7 @@ bool api_conv::profile_api_to_nrf_profile(
guami
.
plmn
.
mcc
=
g
.
getPlmnId
().
getMcc
();
guami
.
plmn
.
mnc
=
g
.
getPlmnId
().
getMnc
();
info
.
guami_list
.
push_back
(
guami
);
Logger
::
nrf_app
().
debug
(
"
\t\t
AMF GUAMI, AMF_ID: %s"
,
guami
.
amf_id
.
c_str
());
Logger
::
nrf_app
().
debug
(
"
\t\t
AMF GUAMI, AMF_ID: 0x%x"
,
guami
.
amf_id
);
Logger
::
nrf_app
().
debug
(
"
\t\t
AMF GUAMI, PLMN (MCC: %s, MNC: %s)"
,
guami
.
plmn
.
mcc
.
c_str
(),
guami
.
plmn
.
mnc
.
c_str
());
...
...
This diff is collapsed.
Click to expand it.
src/nrf_app/nrf_profile.cpp
+
1
−
1
View file @
fae876c1
...
...
@@ -820,7 +820,7 @@ void amf_profile::display() {
amf_info
.
amf_region_id
.
c_str
());
for
(
auto
g
:
amf_info
.
guami_list
)
{
Logger
::
nrf_app
().
debug
(
"
\t\t
AMF GUAMI List, AMF_ID:
%s
"
,
g
.
amf_id
.
c_str
());
Logger
::
nrf_app
().
debug
(
"
\t\t
AMF GUAMI List, AMF_ID:
0x%x
"
,
g
.
amf_id
());
Logger
::
nrf_app
().
debug
(
"
\t\t
AMF GUAMI List, PLMN (MCC: %s, MNC: %s)"
,
g
.
plmn
.
mcc
.
c_str
(),
g
.
plmn
.
mnc
.
c_str
());
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment