30 NS_LOG_COMPONENT_DEFINE(
"LoraNetworkController");
32 NS_OBJECT_ENSURE_REGISTERED(LoraNetworkController);
44 NS_LOG_FUNCTION_NOARGS();
48 : m_status(networkStatus)
50 NS_LOG_FUNCTION_NOARGS();
55 NS_LOG_FUNCTION_NOARGS();
61 NS_LOG_FUNCTION(
this);
68 NS_LOG_FUNCTION(
this << packet);
77 (*it)->OnReceivedPacket(packet,
m_status->GetEndDeviceStatus(packet),
m_status);
84 NS_LOG_FUNCTION(
this);
89 (*it)->BeforeSendingReply(endDeviceStatus,
m_status);
This class collects a series of components that deal with various aspects of managing the network,...
void Install(Ptr< LoraNetworkControllerComponent > component)
Add a new LoraNetworkControllerComponent.
virtual ~LoraNetworkController()
void OnNewPacket(Ptr< const Packet > packet)
Method that is called by the NetworkServer when a new packet is received.
static TypeId GetTypeId(void)
Ptr< LoraNetworkStatus > m_status
void BeforeSendingReply(Ptr< LoraEndDeviceStatus > endDeviceStatus)
Method that is called by the NetworkScheduler just before sending a reply to a certain End Device.
std::list< Ptr< LoraNetworkControllerComponent > > m_components
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.