Commit 3cccea9f authored by aligungr's avatar aligungr

L3 RRC/NAS developments

parent f0072a0a
......@@ -36,6 +36,7 @@ enum class StateType
RM,
CM,
U5,
RRC
};
class INodeListener
......
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment