Loading...
Searching...
No Matches
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 372 of file satellite-lora-test.cc.

Constructor & Destructor Documentation

◆ SatLoraOutOfWindowWindowTestCase()

SatLoraOutOfWindowWindowTestCase::SatLoraOutOfWindowWindowTestCase ( )

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

References m_edReceiveDate, m_phyEdReceive, and m_phyGwReceive.

◆ ~SatLoraOutOfWindowWindowTestCase()

SatLoraOutOfWindowWindowTestCase::~SatLoraOutOfWindowWindowTestCase ( )
virtual

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

Member Function Documentation

◆ DoRun()

◆ MacTraceCb()

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

Definition at line 406 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 422 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 387 of file satellite-lora-test.cc.

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

◆ m_edReceiveDate

Time SatLoraOutOfWindowWindowTestCase::m_edReceiveDate
private

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

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

◆ m_gwAddress

Address SatLoraOutOfWindowWindowTestCase::m_gwAddress
private

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

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

◆ m_gwReceiveDates

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

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

Referenced by DoRun(), and MacTraceCb().

◆ m_phyEdReceive

bool SatLoraOutOfWindowWindowTestCase::m_phyEdReceive
private

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

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

◆ m_phyGwReceive

bool SatLoraOutOfWindowWindowTestCase::m_phyGwReceive
private

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

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


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