SatLoraRegenerativeOutOfWindowWindowTestCase Class Reference

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

+ Inheritance diagram for SatLoraRegenerativeOutOfWindowWindowTestCase:
+ Collaboration diagram for SatLoraRegenerativeOutOfWindowWindowTestCase:

Public Member Functions

 SatLoraRegenerativeOutOfWindowWindowTestCase ()
 
virtual ~SatLoraRegenerativeOutOfWindowWindowTestCase ()
 

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
 
std::vector< Time > m_gwReceiveDates
 
Address m_orbiterUserAddress
 
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 403 of file satellite-lora-regenerative-test.cc.

Constructor & Destructor Documentation

◆ SatLoraRegenerativeOutOfWindowWindowTestCase()

SatLoraRegenerativeOutOfWindowWindowTestCase::SatLoraRegenerativeOutOfWindowWindowTestCase ( )

Definition at line 424 of file satellite-lora-regenerative-test.cc.

◆ ~SatLoraRegenerativeOutOfWindowWindowTestCase()

SatLoraRegenerativeOutOfWindowWindowTestCase::~SatLoraRegenerativeOutOfWindowWindowTestCase ( )
virtual

Definition at line 432 of file satellite-lora-regenerative-test.cc.

Member Function Documentation

◆ DoRun()

void SatLoraRegenerativeOutOfWindowWindowTestCase::DoRun ( void  )
privatevirtual

Set regeneration mode

Definition at line 469 of file satellite-lora-regenerative-test.cc.

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

+ Here is the call graph for this function:

◆ MacTraceCb()

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

Definition at line 437 of file satellite-lora-regenerative-test.cc.

References m_edAddress, m_edReceiveDate, m_gwReceiveDates, and m_orbiterUserAddress.

Referenced by DoRun().

+ Here is the caller graph for this function:

◆ PhyTraceCb()

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

Definition at line 453 of file satellite-lora-regenerative-test.cc.

References m_edAddress, m_orbiterUserAddress, m_phyEdReceive, and m_phyGwReceive.

Referenced by DoRun().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_edAddress

Address SatLoraRegenerativeOutOfWindowWindowTestCase::m_edAddress
private

Definition at line 417 of file satellite-lora-regenerative-test.cc.

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

◆ m_edReceiveDate

Time SatLoraRegenerativeOutOfWindowWindowTestCase::m_edReceiveDate
private

Definition at line 415 of file satellite-lora-regenerative-test.cc.

Referenced by DoRun(), and MacTraceCb().

◆ m_gwReceiveDates

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

Definition at line 414 of file satellite-lora-regenerative-test.cc.

Referenced by DoRun(), and MacTraceCb().

◆ m_orbiterUserAddress

Address SatLoraRegenerativeOutOfWindowWindowTestCase::m_orbiterUserAddress
private

Definition at line 418 of file satellite-lora-regenerative-test.cc.

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

◆ m_phyEdReceive

bool SatLoraRegenerativeOutOfWindowWindowTestCase::m_phyEdReceive
private

Definition at line 421 of file satellite-lora-regenerative-test.cc.

Referenced by DoRun(), and PhyTraceCb().

◆ m_phyGwReceive

bool SatLoraRegenerativeOutOfWindowWindowTestCase::m_phyGwReceive
private

Definition at line 420 of file satellite-lora-regenerative-test.cc.

Referenced by DoRun(), and PhyTraceCb().


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