#include "lora-network-controller-components.h"
Public Member Functions | |
LoraLinkCheckComponent () | |
virtual | ~LoraLinkCheckComponent () |
void | BeforeSendingReply (Ptr< LoraEndDeviceStatus > status, Ptr< LoraNetworkStatus > networkStatus) |
void | OnFailedReply (Ptr< LoraEndDeviceStatus > status, Ptr< LoraNetworkStatus > networkStatus) |
Method that is called when a packet cannot be sent in the downlink. More... | |
void | OnReceivedPacket (Ptr< const Packet > packet, Ptr< LoraEndDeviceStatus > status, Ptr< LoraNetworkStatus > networkStatus) |
This method checks whether the received packet requires an acknowledgment and sets up the appropriate reply in case it does. More... | |
Public Member Functions inherited from ns3::LoraNetworkControllerComponent | |
LoraNetworkControllerComponent () | |
virtual | ~LoraNetworkControllerComponent () |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
Static Public Member Functions inherited from ns3::LoraNetworkControllerComponent | |
static TypeId | GetTypeId (void) |
Private Member Functions | |
void | UpdateLinkCheckAns (Ptr< const Packet > packet, Ptr< LoraEndDeviceStatus > status) |
Definition at line 115 of file lora-network-controller-components.h.
ns3::LoraLinkCheckComponent::LoraLinkCheckComponent | ( | ) |
Definition at line 139 of file lora-network-controller-components.cc.
|
virtual |
Definition at line 143 of file lora-network-controller-components.cc.
|
virtual |
Implements ns3::LoraNetworkControllerComponent.
Definition at line 159 of file lora-network-controller-components.cc.
References ns3::LoraFrameHeader::GetLorawanMacCommand(), ns3::LoraFrameHeader::SetAsUplink(), and ns3::LorawanMacHeader::UNCONFIRMED_DATA_DOWN.
|
static |
Definition at line 131 of file lora-network-controller-components.cc.
Referenced by OnFailedReply(), and OnReceivedPacket().
|
virtual |
Method that is called when a packet cannot be sent in the downlink.
status | The EndDeviceStatus of the device to which it was impossible to send a reply. |
networkStatus | A pointer to the NetworkStatus object |
Implements ns3::LoraNetworkControllerComponent.
Definition at line 195 of file lora-network-controller-components.cc.
References GetTypeId().
|
virtual |
This method checks whether the received packet requires an acknowledgment and sets up the appropriate reply in case it does.
packet | The newly received packet |
networkStatus | A pointer to the NetworkStatus object |
Implements ns3::LoraNetworkControllerComponent.
Definition at line 148 of file lora-network-controller-components.cc.
References GetTypeId().
|
private |