21 #ifndef SATELLITE_LORAWAN_NET_DEVICE_H
22 #define SATELLITE_LORAWAN_NET_DEVICE_H
34 #include <ns3/error-model.h>
35 #include <ns3/ipv4-l3-protocol.h>
65 void Receive(Ptr<const Packet> packet);
67 virtual bool Send(Ptr<Packet> packet,
const Address& dest, uint16_t protocolNumber);
68 bool SendControlMsg(Ptr<SatControlMessage> msg,
const Address& dest);
70 typedef Callback<bool, Ptr<SatLorawanNetDevice>, Ptr<const Packet>, uint16_t,
const Address&>
SatLorawanNetDevice to be utilized in the UT and GW nodes for IoT configuration.
void Receive(Ptr< const Packet > packet)
void SetReceiveNetworkServerCallback(SatLorawanNetDevice::ReceiveCallback cb)
bool SendControlMsg(Ptr< SatControlMessage > msg, const Address &dest)
static TypeId GetTypeId(void)
Get the type ID.
SatLorawanNetDevice()
Default constructor.
virtual bool Send(Ptr< Packet > packet, const Address &dest, uint16_t protocolNumber)
ReceiveCallback m_rxNetworkServerCallback
virtual void DoDispose(void)
Method called to inform the Scheduler of a newly arrived uplink packet.
Callback< bool, Ptr< SatLorawanNetDevice >, Ptr< const Packet >, uint16_t, const Address & > ReceiveCallback
SatNetDevice to be utilized in the UT and GW nodes.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.