A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::lorawan::EndDeviceLoraPhyListener Class Referenceabstract

Receive notifications about PHY events. More...

#include "end-device-lora-phy.h"

+ Inheritance diagram for ns3::lorawan::EndDeviceLoraPhyListener:

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.
 

Detailed Description

Receive notifications about PHY events.

Definition at line 46 of file end-device-lora-phy.h.

Constructor & Destructor Documentation

◆ ~EndDeviceLoraPhyListener()

ns3::lorawan::EndDeviceLoraPhyListener::~EndDeviceLoraPhyListener ( )
virtual

Destructor.

Definition at line 42 of file end-device-lora-phy.cc.

Member Function Documentation

◆ NotifyRxStart()

virtual void ns3::lorawan::EndDeviceLoraPhyListener::NotifyRxStart ( )
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:

  • NotifyRxEndOk
  • NotifyRxEndError
  • NotifyTxStart

Implemented in ns3::lorawan::LoraRadioEnergyModelPhyListener.

◆ NotifySleep()

virtual void ns3::lorawan::EndDeviceLoraPhyListener::NotifySleep ( )
pure virtual

Notify listeners that we went to sleep.

Implemented in ns3::lorawan::LoraRadioEnergyModelPhyListener.

◆ NotifyStandby()

virtual void ns3::lorawan::EndDeviceLoraPhyListener::NotifyStandby ( )
pure virtual

Notify listeners that we woke up.

Implemented in ns3::lorawan::LoraRadioEnergyModelPhyListener.

◆ NotifyTxStart()

virtual void ns3::lorawan::EndDeviceLoraPhyListener::NotifyTxStart ( double  txPowerDbm)
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.

Parameters
txPowerDbmThe nominal tx power in dBm.

Implemented in ns3::lorawan::LoraRadioEnergyModelPhyListener.


The documentation for this class was generated from the following files: