23 #ifndef LORA_NETWORK_SERVER_HELPER_H
24 #define LORA_NETWORK_SERVER_HELPER_H
26 #include "ns3/address.h"
27 #include "ns3/application-container.h"
28 #include "ns3/attribute.h"
29 #include "ns3/lora-network-server.h"
30 #include "ns3/net-device.h"
31 #include "ns3/node-container.h"
32 #include "ns3/object-factory.h"
33 #include "ns3/point-to-point-helper.h"
57 void SetAttribute(std::string name,
const AttributeValue& value);
59 ApplicationContainer
Install(NodeContainer c);
61 ApplicationContainer
Install(Ptr<Node> node);
83 void SetAdr(std::string type);
This class can install Network Server applications on multiple nodes at once.
void SetGateways(NodeContainer gateways)
Set which gateways will need to be connected to this NS.
~LoraNetworkServerHelper()
PointToPointHelper p2pHelper
Helper to create PointToPoint links.
static TypeId GetTypeId(void)
Get the type ID.
LoraNetworkServerHelper()
void SetAdr(std::string type)
Set the ADR implementation to use in the Network Server created by this helper.
Ptr< Application > InstallPriv(Ptr< Node > node)
void InstallComponents(Ptr< LoraNetworkServer > netServer)
NodeContainer m_endDevices
Set of endDevices to connect to this NS.
void SetEndDevices(NodeContainer endDevices)
Set which end devices will be managed by this NS.
ApplicationContainer Install(NodeContainer c)
void EnableAdr(bool enableAdr)
Enable (true) or disable (false) the ADR component in the Network Server created by this helper.
void SetAttribute(std::string name, const AttributeValue &value)
NodeContainer m_gateways
Set of gateways to connect to this NS.
ObjectFactory m_adrSupportFactory
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.