SatLoraOutOfWindowWindowTestCase Class Reference

Test case to check if packet retransmitted if ack outside of both windows. More...

+ Inheritance diagram for SatLoraOutOfWindowWindowTestCase:
+ Collaboration diagram for SatLoraOutOfWindowWindowTestCase:

Public Member Functions

 SatLoraOutOfWindowWindowTestCase ()
 
virtual ~SatLoraOutOfWindowWindowTestCase ()
 

Private Member Functions

virtual void DoRun (void)
 
void MacTraceCb (std::string context, Ptr< const Packet > packet, const Address &address)
 
void PhyTraceCb (std::string context, Ptr< const Packet > packet, const Address &address)
 

Private Attributes

Address m_edAddress
 
Time m_edReceiveDate
 
Address m_gwAddress
 
std::vector< Time > m_gwReceiveDates
 
bool m_phyEdReceive
 
bool m_phyGwReceive
 

Detailed Description

Test case to check if packet retransmitted if ack outside of both windows.

Expected result: Ack is not received and packet is retransmitted.

Definition at line 377 of file satellite-lora-test.cc.

Constructor & Destructor Documentation

◆ SatLoraOutOfWindowWindowTestCase()

SatLoraOutOfWindowWindowTestCase::SatLoraOutOfWindowWindowTestCase ( )

Definition at line 398 of file satellite-lora-test.cc.

◆ ~SatLoraOutOfWindowWindowTestCase()

SatLoraOutOfWindowWindowTestCase::~SatLoraOutOfWindowWindowTestCase ( )
virtual

Definition at line 406 of file satellite-lora-test.cc.

Member Function Documentation

◆ DoRun()

void SatLoraOutOfWindowWindowTestCase::DoRun ( void  )
privatevirtual

Definition at line 443 of file satellite-lora-test.cc.

References m_edAddress, m_edReceiveDate, m_gwAddress, m_gwReceiveDates, m_phyEdReceive, m_phyGwReceive, MacTraceCb(), and PhyTraceCb().

+ Here is the call graph for this function:

◆ MacTraceCb()

void SatLoraOutOfWindowWindowTestCase::MacTraceCb ( std::string  context,
Ptr< const Packet >  packet,
const Address &  address 
)
private

Definition at line 411 of file satellite-lora-test.cc.

References m_edAddress, m_edReceiveDate, m_gwAddress, and m_gwReceiveDates.

Referenced by DoRun().

+ Here is the caller graph for this function:

◆ PhyTraceCb()

void SatLoraOutOfWindowWindowTestCase::PhyTraceCb ( std::string  context,
Ptr< const Packet >  packet,
const Address &  address 
)
private

Definition at line 427 of file satellite-lora-test.cc.

References m_edAddress, m_gwAddress, m_phyEdReceive, and m_phyGwReceive.

Referenced by DoRun().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_edAddress

Address SatLoraOutOfWindowWindowTestCase::m_edAddress
private

Definition at line 392 of file satellite-lora-test.cc.

Referenced by DoRun(), MacTraceCb(), and PhyTraceCb().

◆ m_edReceiveDate

Time SatLoraOutOfWindowWindowTestCase::m_edReceiveDate
private

Definition at line 389 of file satellite-lora-test.cc.

Referenced by DoRun(), and MacTraceCb().

◆ m_gwAddress

Address SatLoraOutOfWindowWindowTestCase::m_gwAddress
private

Definition at line 391 of file satellite-lora-test.cc.

Referenced by DoRun(), MacTraceCb(), and PhyTraceCb().

◆ m_gwReceiveDates

std::vector<Time> SatLoraOutOfWindowWindowTestCase::m_gwReceiveDates
private

Definition at line 388 of file satellite-lora-test.cc.

Referenced by DoRun(), and MacTraceCb().

◆ m_phyEdReceive

bool SatLoraOutOfWindowWindowTestCase::m_phyEdReceive
private

Definition at line 395 of file satellite-lora-test.cc.

Referenced by DoRun(), and PhyTraceCb().

◆ m_phyGwReceive

bool SatLoraOutOfWindowWindowTestCase::m_phyGwReceive
private

Definition at line 394 of file satellite-lora-test.cc.

Referenced by DoRun(), and PhyTraceCb().


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