Commit 3a2eb0d7 authored by aligungr's avatar aligungr

RRC developments

parent 5186a13b
...@@ -140,7 +140,8 @@ void UeRrcTask::sendRrcMessage(ASN_RRC_UL_DCCH_Message *msg) ...@@ -140,7 +140,8 @@ void UeRrcTask::sendRrcMessage(ASN_RRC_UL_DCCH_Message *msg)
void UeRrcTask::receiveRrcMessage(int, ASN_RRC_BCCH_BCH_Message *msg) void UeRrcTask::receiveRrcMessage(int, ASN_RRC_BCCH_BCH_Message *msg)
{ {
// TODO if (msg->message.present == ASN_RRC_BCCH_BCH_MessageType_PR_mib)
receiveMib(*msg->message.choice.mib);
} }
void UeRrcTask::receiveRrcMessage(int, ASN_RRC_BCCH_DL_SCH_Message *msg) void UeRrcTask::receiveRrcMessage(int, ASN_RRC_BCCH_DL_SCH_Message *msg)
......
//
// This file is a part of UERANSIM open source project.
// Copyright (c) 2021 ALİ GÜNGÖR.
//
// The software and all associated files are licensed under GPL-3.0
// and subject to the terms and conditions defined in LICENSE file.
//
#include "task.hpp"
#include <lib/asn/utils.hpp>
#include <lib/rrc/encode.hpp>
#include <ue/nas/task.hpp>
#include <ue/nts.hpp>
#include <utils/common.hpp>
namespace nr::ue
{
void UeRrcTask::receiveMib(const ASN_RRC_MIB &msg)
{
// TODO
}
} // namespace nr::ue
\ No newline at end of file
...@@ -38,6 +38,7 @@ extern "C" ...@@ -38,6 +38,7 @@ extern "C"
struct ASN_RRC_RRCReject; struct ASN_RRC_RRCReject;
struct ASN_RRC_RRCRelease; struct ASN_RRC_RRCRelease;
struct ASN_RRC_Paging; struct ASN_RRC_Paging;
struct ASN_RRC_MIB;
} }
namespace nr::ue namespace nr::ue
...@@ -101,6 +102,9 @@ class UeRrcTask : public NtsTask ...@@ -101,6 +102,9 @@ class UeRrcTask : public NtsTask
void notifyCellDetected(int cellId, int dbm); void notifyCellDetected(int cellId, int dbm);
void notifyCellLost(int cellId); void notifyCellLost(int cellId);
bool hasSignalToCell(int cellId); bool hasSignalToCell(int cellId);
/* System Information */
void receiveMib(const ASN_RRC_MIB &msg);
}; };
} // namespace nr::ue } // namespace nr::ue
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