#include "lora-network-controller-components.h"
Inheritance diagram for ns3::LoraConfirmedMessagesComponent:
Collaboration diagram for ns3::LoraConfirmedMessagesComponent:Public Member Functions | |
| LoraConfirmedMessagesComponent () | |
| virtual | ~LoraConfirmedMessagesComponent () |
| 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) |
Definition at line 86 of file lora-network-controller-components.h.
| ns3::LoraConfirmedMessagesComponent::LoraConfirmedMessagesComponent | ( | ) |
Definition at line 62 of file lora-network-controller-components.cc.
|
virtual |
Definition at line 66 of file lora-network-controller-components.cc.
|
virtual |
Implements ns3::LoraNetworkControllerComponent.
Definition at line 110 of file lora-network-controller-components.cc.
|
static |
Definition at line 54 of file lora-network-controller-components.cc.
Referenced by OnReceivedPacket().
Here is the caller graph for this function:
|
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 118 of file lora-network-controller-components.cc.
|
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 71 of file lora-network-controller-components.cc.
References ns3::LorawanMacHeader::CONFIRMED_DATA_UP, ns3::LoraFrameHeader::GetAddress(), ns3::LorawanMacHeader::GetMType(), GetTypeId(), ns3::LoraFrameHeader::SetAsUplink(), and ns3::LorawanMacHeader::UNCONFIRMED_DATA_DOWN.
Here is the call graph for this function: