SatLoraFirstWindowTestCase Class Reference

Test case to check if Lora ack arrives in first reception window. More...

+ Inheritance diagram for SatLoraFirstWindowTestCase:
+ Collaboration diagram for SatLoraFirstWindowTestCase:

Public Member Functions

 SatLoraFirstWindowTestCase ()
 
virtual ~SatLoraFirstWindowTestCase ()
 

Private Member Functions

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

Private Attributes

Address m_edAddress
 
Time m_edReceiveDate
 
Address m_gwAddress
 
Time m_gwReceiveDate
 

Detailed Description

Test case to check if Lora ack arrives in first reception window.

Expected result: Ack is received and with correct date range, corresponding to first window opening and closing.

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

Constructor & Destructor Documentation

◆ SatLoraFirstWindowTestCase()

SatLoraFirstWindowTestCase::SatLoraFirstWindowTestCase ( )

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

◆ ~SatLoraFirstWindowTestCase()

SatLoraFirstWindowTestCase::~SatLoraFirstWindowTestCase ( )
virtual

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

Member Function Documentation

◆ DoRun()

void SatLoraFirstWindowTestCase::DoRun ( void  )
privatevirtual

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

References m_edAddress, m_edReceiveDate, m_gwAddress, m_gwReceiveDate, and MacTraceCb().

+ Here is the call graph for this function:

◆ MacTraceCb()

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

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

References m_edAddress, m_edReceiveDate, m_gwAddress, and m_gwReceiveDate.

Referenced by DoRun().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_edAddress

Address SatLoraFirstWindowTestCase::m_edAddress
private

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

Referenced by DoRun(), and MacTraceCb().

◆ m_edReceiveDate

Time SatLoraFirstWindowTestCase::m_edReceiveDate
private

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

Referenced by DoRun(), and MacTraceCb().

◆ m_gwAddress

Address SatLoraFirstWindowTestCase::m_gwAddress
private

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

Referenced by DoRun(), and MacTraceCb().

◆ m_gwReceiveDate

Time SatLoraFirstWindowTestCase::m_gwReceiveDate
private

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

Referenced by DoRun(), and MacTraceCb().


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