A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ble-phy-example.cc File Reference
#include <ns3/core-module.h>
#include <ns3/network-module.h>
#include <ns3/mobility-module.h>
#include <ns3/propagation-module.h>
#include <ns3/spectrum-module.h>
#include <ns3/ble-phy.h>
+ Include dependency graph for ble-phy-example.cc:

Go to the source code of this file.

Functions

static void GenerateTraffic (Ptr< BlePhy > sender, uint32_t pktSize, uint32_t pktCount, Time pktInterval)
 
void SendOnePacket (Ptr< BlePhy > sender, Ptr< BlePhy > receiver)
 

Function Documentation

static void GenerateTraffic ( Ptr< BlePhy sender,
uint32_t  pktSize,
uint32_t  pktCount,
Time  pktInterval 
)
static
void SendOnePacket ( Ptr< BlePhy sender,
Ptr< BlePhy receiver 
)

Definition at line 47 of file ble-phy-example.cc.

References ns3::BlePhy::ChangeState(), ns3::BlePhy::LISTEN, ns3::BlePhy::RxPacketFromLinkLayer(), ns3::BlePhy::StartTx(), and ns3::BlePhy::TRANS.

+ Here is the call graph for this function: