Test case to check if Lora ack arrives in first reception window. More...
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 |
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 67 of file satellite-lora-test.cc.
| SatLoraFirstWindowTestCase::SatLoraFirstWindowTestCase | ( | ) |
Definition at line 84 of file satellite-lora-test.cc.
References m_edReceiveDate, and m_gwReceiveDate.
|
virtual |
Definition at line 91 of file satellite-lora-test.cc.
|
privatevirtual |
Definition at line 112 of file satellite-lora-test.cc.
References ns3::SatSuperframeConf::CONFIG_TYPE_4, ns3::LorawanMacHeader::CONFIRMED_DATA_UP, ns3::SatEnvVariables::GetInstance(), ns3::SatEnums::LR_LORA, m_edAddress, m_edReceiveDate, m_gwAddress, m_gwReceiveDate, MacTraceCb(), ns3::SatPhyRxCarrierConf::RA_COLLISION_CHECK_AGAINST_SINR, ns3::SatEnums::RA_MODEL_ESSA, ns3::SatLoraConf::SATELLITE, ns3::SatPhyRxCarrierConf::SIC_RESIDUAL, ns3::SatHelper::SIMPLE, and ns3::SatSuperframeConf::SUPER_FRAME_CONFIG_4.
|
private |
Definition at line 96 of file satellite-lora-test.cc.
References m_edAddress, m_edReceiveDate, m_gwAddress, and m_gwReceiveDate.
Referenced by DoRun().
|
private |
Definition at line 81 of file satellite-lora-test.cc.
Referenced by DoRun(), and MacTraceCb().
|
private |
Definition at line 78 of file satellite-lora-test.cc.
Referenced by SatLoraFirstWindowTestCase(), DoRun(), and MacTraceCb().
|
private |
Definition at line 80 of file satellite-lora-test.cc.
Referenced by DoRun(), and MacTraceCb().
|
private |
Definition at line 77 of file satellite-lora-test.cc.
Referenced by SatLoraFirstWindowTestCase(), DoRun(), and MacTraceCb().