Test case to check if Lora ack arrives in second reception window. More...
Public Member Functions | |
| SatLoraRegenerativeSecondWindowTestCase () | |
| virtual | ~SatLoraRegenerativeSecondWindowTestCase () |
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 |
| Time | m_gwReceiveDate |
| Address | m_orbiterUserAddress |
Test case to check if Lora ack arrives in second reception window.
Expected result: Ack is received and with correct date range, corresponding to second window opening and closing.
Definition at line 236 of file satellite-lora-regenerative-test.cc.
| SatLoraRegenerativeSecondWindowTestCase::SatLoraRegenerativeSecondWindowTestCase | ( | ) |
Definition at line 253 of file satellite-lora-regenerative-test.cc.
References m_edReceiveDate, and m_gwReceiveDate.
|
virtual |
Definition at line 260 of file satellite-lora-regenerative-test.cc.
|
privatevirtual |
Set regeneration mode
Definition at line 281 of file satellite-lora-regenerative-test.cc.
References ns3::SatSuperframeConf::CONFIG_TYPE_4, ns3::LorawanMacHeader::CONFIRMED_DATA_UP, ns3::SatPhyRxCarrierConf::EM_AVI, ns3::SatEnvVariables::GetInstance(), ns3::SatEnums::LR_LORA, m_edAddress, m_edReceiveDate, m_gwReceiveDate, m_orbiterUserAddress, MacTraceCb(), ns3::SatPhyRxCarrierConf::RA_COLLISION_CHECK_AGAINST_SINR, ns3::SatEnums::RA_MODEL_ESSA, ns3::SatEnums::REGENERATION_NETWORK, ns3::SatLoraConf::SATELLITE, ns3::SatPhyRxCarrierConf::SIC_RESIDUAL, ns3::SatHelper::SIMPLE, and ns3::SatSuperframeConf::SUPER_FRAME_CONFIG_4.
|
private |
Definition at line 265 of file satellite-lora-regenerative-test.cc.
References m_edAddress, m_edReceiveDate, m_gwReceiveDate, and m_orbiterUserAddress.
Referenced by DoRun().
|
private |
Definition at line 249 of file satellite-lora-regenerative-test.cc.
Referenced by DoRun(), and MacTraceCb().
|
private |
Definition at line 247 of file satellite-lora-regenerative-test.cc.
Referenced by SatLoraRegenerativeSecondWindowTestCase(), DoRun(), and MacTraceCb().
|
private |
Definition at line 246 of file satellite-lora-regenerative-test.cc.
Referenced by SatLoraRegenerativeSecondWindowTestCase(), DoRun(), and MacTraceCb().
|
private |
Definition at line 250 of file satellite-lora-regenerative-test.cc.
Referenced by DoRun(), and MacTraceCb().