Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
UERANSIM
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
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
Libraries
UERANSIM
Commits
021891ce
Unverified
Commit
021891ce
authored
May 28, 2021
by
Ali Güngör
Committed by
GitHub
May 28, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #329 from DendoD96/detailed-status-command
Enrich information displayed by ue cli status command
parents
fffd1de1
41e7413a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
src/ue/app/task.cpp
src/ue/app/task.cpp
+5
-0
src/ue/types.cpp
src/ue/types.cpp
+2
-0
src/ue/types.hpp
src/ue/types.hpp
+2
-0
No files found.
src/ue/app/task.cpp
View file @
021891ce
...
@@ -129,6 +129,11 @@ void UeAppTask::receiveStatusUpdate(NwUeStatusUpdate &msg)
...
@@ -129,6 +129,11 @@ void UeAppTask::receiveStatusUpdate(NwUeStatusUpdate &msg)
UePduSessionInfo
sessionInfo
{};
UePduSessionInfo
sessionInfo
{};
sessionInfo
.
psi
=
session
->
psi
;
sessionInfo
.
psi
=
session
->
psi
;
if
(
session
->
apn
.
has_value
())
sessionInfo
.
apn
=
session
->
apn
.
value
();
if
(
session
->
sNssai
.
has_value
())
sessionInfo
.
sNssai
=
session
->
sNssai
.
value
();
sessionInfo
.
type
=
nas
::
utils
::
EnumToString
(
session
->
sessionType
);
sessionInfo
.
type
=
nas
::
utils
::
EnumToString
(
session
->
sessionType
);
if
(
session
->
pduAddress
.
has_value
())
if
(
session
->
pduAddress
.
has_value
())
sessionInfo
.
address
=
utils
::
OctetStringToIp
(
session
->
pduAddress
->
pduAddressInformation
);
sessionInfo
.
address
=
utils
::
OctetStringToIp
(
session
->
pduAddress
->
pduAddressInformation
);
...
...
src/ue/types.cpp
View file @
021891ce
...
@@ -242,6 +242,8 @@ Json ToJson(const UePduSessionInfo &v)
...
@@ -242,6 +242,8 @@ Json ToJson(const UePduSessionInfo &v)
{
"type"
,
v
.
type
},
{
"type"
,
v
.
type
},
{
"address"
,
v
.
address
},
{
"address"
,
v
.
address
},
{
"emergency"
,
v
.
isEmergency
},
{
"emergency"
,
v
.
isEmergency
},
{
"apn"
,
v
.
apn
},
{
"sNssai"
,
ToJson
(
v
.
sNssai
)}
});
});
}
}
...
...
src/ue/types.hpp
View file @
021891ce
...
@@ -390,6 +390,8 @@ struct UePduSessionInfo
...
@@ -390,6 +390,8 @@ struct UePduSessionInfo
std
::
string
address
{};
std
::
string
address
{};
bool
isEmergency
{};
bool
isEmergency
{};
bool
uplinkPending
{};
bool
uplinkPending
{};
std
::
string
apn
{};
SingleSlice
sNssai
{};
};
};
enum
class
ERegUpdateCause
enum
class
ERegUpdateCause
...
...
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