21 #ifndef SAT_LORA_PHY_RX_H
22 #define SAT_LORA_PHY_RX_H
27 #include <ns3/nstime.h>
28 #include <ns3/object.h>
29 #include <ns3/packet.h>
88 virtual void StartRx(Ptr<SatSignalParameters> rxParams);
Class adding methods linked to Lora, needed to be used in a satellite context.
virtual void StartRx(Ptr< SatSignalParameters > rxParams)
Start receiving a packet.
void SetSpreadingFactor(uint8_t sf)
Set the Spreading Factor this EndDevice will listen for.
void SetFrequency(double frequencyMHz)
Set the frequency this EndDevice will listen on.
SatLoraPhyRx()
Constructor and destructor.
@ SLEEP
The PHY layer is sleeping.
@ TX
The PHY layer is sending a packet.
@ RX
The PHY layer is receiving a packet.
@ STANDBY
The PHY layer is in STANDBY.
bool IsOnFrequency(double frequency)
Whether this device is listening on the specified frequency or not.
void SwitchToSleep(void)
Switch to the SLEEP state.
void SwitchToStandby(void)
Switch to the STANDBY state.
void SwitchToRx()
Switch to the RX state.
bool IsTransmitting(void)
Whether this device is transmitting or not.
static TypeId GetTypeId(void)
void SwitchToTx()
Switch to the TX state.
The SatPhyRx models the physical layer receiver of satellite system.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.