23 #ifndef LORA_DEVICE_ADDRESS_GENERATOR_H
24 #define LORA_DEVICE_ADDRESS_GENERATOR_H
28 #include <ns3/object.h>
This class generates sequential LoraDeviceAddress instances.
NwkID m_currentNwkId
The current Network Id value.
LoraDeviceAddress GetNextAddress(void)
Get the LoraDeviceAddress that will be allocated upon a call to NextAddress.
NwkAddr m_currentNwkAddr
The current Network Address value.
LoraDeviceAddress NextNetwork(void)
Get the first address from the next network.
LoraDeviceAddressGenerator(const uint8_t nwkId=0, const uint32_t nwkAddr=0)
Initialise the base NwkID and the first NwkAddr to be used by the generator.
static TypeId GetTypeId(void)
LoraDeviceAddress NextAddress(void)
Allocate the next LoraDeviceAddress.
This class represents the device address of a LoraWAN End Device.
Class representing the Network Address component of a LoraDeviceAddress (25 bits)
Class representing the NetworkId component of a LoraDeviceAddress (7 bits).
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.