A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
lr-wpan-phy-test.cc File Reference
#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>
+ Include dependency graph for lr-wpan-phy-test.cc:

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)
 

Function Documentation

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ReceivePdDataIndication ( uint32_t  psduLength,
Ptr< Packet p,
uint8_t  lqi 
)

Definition at line 38 of file lr-wpan-phy-test.cc.

References ns3::Simulator::Now(), and NS_LOG_UNCOND.

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void SendOnePacket ( Ptr< LrWpanPhy sender,
Ptr< LrWpanPhy receiver 
)

Definition at line 47 of file lr-wpan-phy-test.cc.

References ns3::Packet::GetSize(), and ns3::LrWpanPhy::PdDataRequest().

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: