23 #ifndef LORA_GATEWAY_STATUS_H
24 #define LORA_GATEWAY_STATUS_H
28 #include <ns3/address.h>
29 #include <ns3/net-device.h>
30 #include <ns3/object.h>
41 LoraGatewayStatus(Address address, Ptr<NetDevice> netDevice, Ptr<LorawanMacGateway> gwMac);
void SetNetDevice(Ptr< NetDevice > netDevice)
Set the NetDevice through which it's possible to contact this gateway from the server.
static TypeId GetTypeId(void)
Time m_nextTransmissionTime
This gateway's next transmission time.
Address GetAddress()
Get this gateway's P2P link address.
Ptr< NetDevice > GetNetDevice()
Get the NetDevice through which it's possible to contact this gateway from the server.
virtual ~LoraGatewayStatus()
Ptr< LorawanMacGateway > GetGatewayMac(void)
Get a pointer to this gateway's MAC instance.
void SetNextTransmissionTime(Time nextTransmissionTime)
void SetAddress(Address address)
Set this gateway's P2P link address.
Ptr< NetDevice > m_netDevice
The NetDevice through which to reach this gateway from the server.
Ptr< LorawanMacGateway > m_gatewayMac
The Mac layer of the gateway.
bool IsAvailableForTransmission(double frequency)
Set a pointer to this gateway's MAC instance.
Address m_address
The Address of the P2PNetDevice of this gateway // TODO useless ??? Remove !
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.