21 #ifndef LORA_FRAME_HEADER_H
22 #define LORA_FRAME_HEADER_H
27 #include <ns3/header.h>
73 virtual void Serialize(Buffer::Iterator start)
const;
81 virtual uint32_t
Deserialize(Buffer::Iterator start);
88 virtual void Print(std::ostream& os)
const;
217 template <
typename T>
244 std::list<int> enabledChannels,
255 void AddLinkAdrAns(
bool powerAck,
bool dataRateAck,
bool channelMaskAck);
298 uint8_t maxDataRate);
303 std::list<Ptr<LorawanMacCommand>>
GetCommands(
void);
308 void AddCommand(Ptr<LorawanMacCommand> macCommand);
334 template <
typename T>
339 std::list<Ptr<LorawanMacCommand>>::const_iterator it;
342 if ((*it)->GetObject<T>() !=
nullptr)
344 return (*it)->GetObject<T>();
This class represents the device address of a LoraWAN End Device.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.