#include <ns3/log.h>
#include <ns3/test.h>
#include <ns3/packet.h>
#include <ns3/lr-wpan-phy.h>
#include <ns3/lr-wpan-mac.h>
#include <ns3/simulator.h>
#include <ns3/single-model-spectrum-channel.h>
#include <ns3/constant-position-mobility-model.h>
Go to the source code of this file.
Functions | |
void | GetSetTRXStateConfirm (LrWpanPhyEnumeration status) |
int | main (int argc, char *argv[]) |
void | ReceivePdDataIndication (uint32_t psduLength, Ptr< Packet > p, uint8_t lqi) |
void | SendOnePacket (Ptr< LrWpanPhy > sender, Ptr< LrWpanPhy > receiver) |
void GetSetTRXStateConfirm | ( | LrWpanPhyEnumeration | status | ) |
Definition at line 31 of file lr-wpan-phy-test.cc.
References ns3::Simulator::Now(), and NS_LOG_UNCOND.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 55 of file lr-wpan-phy-test.cc.
References ns3::Simulator::Destroy(), GetSetTRXStateConfirm(), ns3::IEEE_802_15_4_PHY_RX_ON, ns3::IEEE_802_15_4_PHY_TX_ON, ns3::LOG_LEVEL_ALL, ns3::LOG_PREFIX_FUNC, ns3::LogComponentEnable(), ns3::LogComponentEnableAll(), ns3::MakeCallback(), ns3::LrWpanPhy::PlmeSetTRXStateRequest(), ReceivePdDataIndication(), ns3::Simulator::Run(), ns3::Simulator::Schedule(), ns3::Seconds(), SendOnePacket(), ns3::LrWpanPhy::SetChannel(), ns3::LrWpanPhy::SetMobility(), ns3::LrWpanPhy::SetPlmeSetTRXStateConfirmCallback(), and ns3::Simulator::Stop().
Definition at line 38 of file lr-wpan-phy-test.cc.
References ns3::Simulator::Now(), and NS_LOG_UNCOND.
Referenced by main().
Definition at line 47 of file lr-wpan-phy-test.cc.
References ns3::Packet::GetSize(), and ns3::LrWpanPhy::PdDataRequest().
Referenced by main().