This repository includes the following documents.
-
zigbee.scn: network topology in 3D
-
zigbee.tcl: network script written in tcl
-
thr_drop_delay.awk: eualuation script written in awk
-
data/: results of delay, throughput, jitter, and packet loss rate
-
out/: figures of results
-
demo/: demos of nam
-
thesis_Chinese.pdf (in Chinese)
How to
- Please make sure
zigbee_topology.scn and zibee.tcl are in the same folder. The simulation script is written for NS-2.34 with tcl8.4.
-
cd to the folder by terminal
- run
ns zigbee.tcl. This will generate the simulation results stored in the output file named “zigbee.tr”.
- run
awk -f thr_drop_delay.awk zigbee.tr to get the performance results.
- run
gnuplot and plot xxx.dat to get the figures of simulation results.
Some Results

