latest status: run 802.11, some knowledge on trace file analysis.
TODO: Trace file: which nodes send to which nodes
Static routing settings, look for dynamic routing
Adjust transmission power statically by distance
Response Time Reporter (RTR). RTR probe RTR responder
The RTR probe sends a burst of packets to the RTR responder. The RTR responder turns them around and sends them back to the probe. This simple operation allows the probe to measure packet loss and round trip delay. To measure jitter, the probe sends a control packet to the responder before it initiates the packet burst. The control packet informs the responder how many milliseconds (ms) to expect between each packet in the burst. The responder then measures the inter-packet delay during the burst, and any deviation from the expect interval is recorded as jitter.
In wireless mode, the default transmission range for a node is supposed to be 250 meters. So why distCST_ is set to 550 meters by default? 550m is called carrier sense range. Whenever two nodes are within that range, the interference is there and simultaneous transmission is disallowed.
Nodes outside the transmission range but within the sensing range can hear the transmission of the transmitting node. However, the S/N (Signal/Noise) ratio is too low to decode the signal correctly. In this case, even though the receving nodes do not know the contents of the transmission, they still know that the medium is not idle.
$ sudo apt-get install ns2
$ sudo apt-get install nam
$ sudo apt-get install xgraph
To run .tcl files
$ ns simple100.tcl
if the tcl files contains nam settings, nam will automatically start.
null agent means the receiver