Re: [ns] Broadcast data in NS2

2009-10-12 Thread Jonathan Petit
Hi ! In order to send broadcast messages, I use my own Agent which is quite similar to the p_bcast proposed here (http://www.crhc.illinois.edu/wireless/assignments/simulations/lab108.html ) Maybe you could use it for your sensor scenario. You just have to put the following lines in your tcl

[ns] Broadcast data in NS2

2009-10-11 Thread Quoc Huy My Y
Hi everybody, I have my project simulating wireless sensor networks that each sensor node broadcasts its sensed data to neighboring sensor nodes in the range. I do not need routing protocol, just normally one node broadcast packet and neigboring nodes receive that packet. Could anybody pleas