Skip to content

cnodadiaz/collision

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packet Collisions in 802.15.4 Networks

Simulation code for the analysis of concurrent transmission in IEEE 802.15.4 wireless networks. This is the accompanying code to the technical report available at ArXiv; the full paper appeared in IEEE Transactions on Wireless Communications 13(12) (On the Reception of Concurrent Transmissions in Wireless Sensor Networks).

##Directories

  • src: Python code for calculating the demodulator output of the receiver
  • julia: re-implementation in Julia using @parallel, awesomely faster
  • figs: matplotlib code used to generate some of the figures in the paper, to see how to use phitau.py
  • collision-viz: re-implementation of the simulation code in JavaScript and the visualization applet code

###Dependencies ####Python For the src/figs part, you need

####Julia For julia, you need

  • a recent development version (v0.4) of Julia (from github)
  • package NPZ (to read and write numpy data files)
  • PyPlot (to call matplotlib from julia)

Run it like this to enable parallel execution on worker threads:

$ julia --depwarn=no -O -p [n_CPUs] gen_ser_contour.jl unif soft

###Example Outputs ####BER Contour Plot Plot of the bit error rate that a sender experiences when time or phase offsets are present. Contour plot of the bit error rate (BER)

####MSK Waveform Plot An example waveform of the physical signal when the sender employs the minimum shift keying modulation. MSK waveform

About

Analysis of concurrent transmission in IEEE 802.15.4 wireless networks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 51.8%
  • JavaScript 21.8%
  • Julia 21.2%
  • HTML 4.8%
  • CSS 0.4%