23#ifndef LORA_FORWARDER_H
24#define LORA_FORWARDER_H
28#include "ns3/application.h"
29#include "ns3/attribute.h"
30#include "ns3/nstime.h"
31#include "ns3/point-to-point-net-device.h"
57 void SetLoraNetDevice(uint8_t beamId, Ptr<SatLorawanNetDevice> loraNetDevice);
76 Ptr<const Packet> packet,
78 const Address& sender);
84 Ptr<const Packet> packet,
86 const Address& sender);
99 std::map<uint8_t, Ptr<SatLorawanNetDevice>>
Ptr< PointToPointNetDevice > m_pointToPointNetDevice
Pointer to the P2PNetDevice we use to.
bool ReceiveFromLora(Ptr< SatLorawanNetDevice > loraNetDevice, Ptr< const Packet > packet, uint16_t protocol, const Address &sender)
Receive a packet from the LoraNetDevice.
std::map< uint8_t, Ptr< SatLorawanNetDevice > > m_satLorawanNetDevices
Map between beam ID and pointer to the node's SatLorawanNetDevice.
static TypeId GetTypeId(void)
void StartApplication(void)
Start the application.
void StopApplication(void)
Stop the application.
void SetLoraNetDevice(uint8_t beamId, Ptr< SatLorawanNetDevice > loraNetDevice)
Sets the device to use to communicate with the EDs.
bool ReceiveFromPointToPoint(Ptr< NetDevice > pointToPointNetDevice, Ptr< const Packet > packet, uint16_t protocol, const Address &sender)
Receive a packet from the PointToPointNetDevice.
void SetPointToPointNetDevice(Ptr< PointToPointNetDevice > pointToPointNetDevice)
Sets the P2P device to use to communicate with the NS.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.