#include <ns3/command-line.h>
#include <ns3/constant-position-mobility-model.h>
#include <ns3/log.h>
#include <ns3/lr-wpan-mac.h>
#include <ns3/lr-wpan-phy.h>
#include <ns3/packet.h>
#include <ns3/simulator.h>
#include <ns3/single-model-spectrum-channel.h>
#include <ns3/test.h>
Go to the source code of this file.
Functions | |
void | GetSetTRXStateConfirm (PhyEnumeration status) |
Function called when a the PHY state change is confirmed. | |
void | ReceivePdDataIndication (uint32_t psduLength, Ptr< Packet > p, uint8_t lqi) |
Function called when a the PHY receives a packet. | |
void | SendOnePacket (Ptr< LrWpanPhy > sender, Ptr< LrWpanPhy > receiver) |
Send one packet. | |
void GetSetTRXStateConfirm | ( | PhyEnumeration | status | ) |
Function called when a the PHY state change is confirmed.
status | PHY state |
Definition at line 26 of file lr-wpan-phy-test.cc.
References ns3::Simulator::Now(), and NS_LOG_UNCOND.
Function called when a the PHY receives a packet.
psduLength | PSDU length |
p | packet |
lqi | link quality indication |
Definition at line 38 of file lr-wpan-phy-test.cc.
References ns3::Simulator::Now(), and NS_LOG_UNCOND.
Send one packet.
sender | sender PHY |
receiver | receiver PHY |
Definition at line 50 of file lr-wpan-phy-test.cc.
References ns3::Create().