28 NS_LOG_COMPONENT_DEFINE(
"LoraNetworkController");
30 NS_OBJECT_ENSURE_REGISTERED(LoraNetworkController);
42 NS_LOG_FUNCTION_NOARGS();
46 : m_status(networkStatus)
48 NS_LOG_FUNCTION_NOARGS();
53 NS_LOG_FUNCTION_NOARGS();
59 NS_LOG_FUNCTION(
this);
66 NS_LOG_FUNCTION(
this << packet);
75 (*it)->OnReceivedPacket(packet,
m_status->GetEndDeviceStatus(packet),
m_status);
82 NS_LOG_FUNCTION(
this);
87 (*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.