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
3cccea9f
Commit
3cccea9f
authored
May 18, 2021
by
aligungr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
L3 RRC/NAS developments
parent
f0072a0a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
src/lib/app/monitor.hpp
src/lib/app/monitor.hpp
+1
-0
src/ue/rrc/state.cpp
src/ue/rrc/state.cpp
+7
-1
No files found.
src/lib/app/monitor.hpp
View file @
3cccea9f
...
...
@@ -36,6 +36,7 @@ enum class StateType
RM
,
CM
,
U5
,
RRC
};
class
INodeListener
...
...
src/ue/rrc/state.cpp
View file @
3cccea9f
...
...
@@ -42,12 +42,18 @@ void UeRrcTask::switchState(ERrcState state)
m_state
=
state
;
m_logger
->
info
(
"UE switches to state [%s]"
,
ToJson
(
state
).
str
().
c_str
());
if
(
m_base
->
nodeListener
)
{
m_base
->
nodeListener
->
onSwitch
(
app
::
NodeType
::
UE
,
m_base
->
config
->
getNodeName
(),
app
::
StateType
::
RRC
,
ToJson
(
oldState
).
str
(),
ToJson
(
state
).
str
());
}
onSwitchState
(
oldState
,
state
);
}
void
UeRrcTask
::
onSwitchState
(
ERrcState
oldState
,
ERrcState
newState
)
{
}
}
// namespace nr::ue
\ No newline at end of file
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