Receive notifications about PHY events. More...
#include "end-device-lora-phy.h"
Public Member Functions | |
virtual | ~EndDeviceLoraPhyListener () |
Destructor. | |
virtual void | NotifyRxStart ()=0 |
We have received the first bit of a packet. | |
virtual void | NotifySleep ()=0 |
Notify listeners that we went to sleep. | |
virtual void | NotifyStandby ()=0 |
Notify listeners that we woke up. | |
virtual void | NotifyTxStart (double txPowerDbm)=0 |
We are about to send the first bit of the packet. | |
Receive notifications about PHY events.
Definition at line 46 of file end-device-lora-phy.h.
|
virtual |
Destructor.
Definition at line 42 of file end-device-lora-phy.cc.
|
pure virtual |
We have received the first bit of a packet.
We decided that we could synchronize on this packet. It does not mean we will be able to successfully receive completely the whole packet. It means that we will report a BUSY status until one of the following happens:
Implemented in ns3::lorawan::LoraRadioEnergyModelPhyListener.
|
pure virtual |
Notify listeners that we went to sleep.
Implemented in ns3::lorawan::LoraRadioEnergyModelPhyListener.
|
pure virtual |
Notify listeners that we woke up.
Implemented in ns3::lorawan::LoraRadioEnergyModelPhyListener.
|
pure virtual |
We are about to send the first bit of the packet.
We do not send any event to notify the end of transmission. Listeners should assume that the channel implicitly reverts to the idle state unless they have received a cca busy report.
txPowerDbm | The nominal tx power in dBm. |
Implemented in ns3::lorawan::LoraRadioEnergyModelPhyListener.