Hello
in a message like this:
r 6.317259333 _1_ RTR --- 1486717614 diffusion 0 [13a 1 2 800] ---
[2:255 1:255 32 1]
r means a message was received, it could be a s for a message sent.
the number next to it is the time
_1_ means the node 1 received the message
RTR is the type of message, I don't know exactly what it means...
the next number is a identification of the message, each message has an
unique number. If two lines appear with the same number, it means it is the
same message (as an example, a message may appear 2 times, when it was sent
and when it was received)
I don't know what the diffusion 0 means and also don't know what the final
numbers means..
Anyone can clarify the pending stuff?
On 8/22/06, Chitra Magar [EMAIL PROTECTED] wrote:
Hi everyone,
I have been carrying out ns2 simulation using
diffusion protocol for wireless sensors.
I am get the following traces
s 0.01000 _0_ AGT --- 30504276 diffusion 0 [0.00
0 0] --- [0:254 0:255 32 0]
r 0.01000 _0_ RTR --- 30504276 diffusion 0 [0.00
0 0] --- [0:254 0:255 32 0]
s 0.01000 _1_ AGT --- 503803425 diffusion 0 [0.00
0 0] --- [1:254 1:255 32 0]
r 0.01000 _1_ RTR --- 503803425 diffusion 0 [0.00
0 0] --- [1:254 1:255 32 0]
s 0.01000 _2_ AGT --- 1374534831 diffusion 0
[0.00 0 0] --- [2:254 2:255 32 0]
r 0.01000 _2_ RTR --- 1374534831 diffusion 0
[0.00 0 0] --- [2:254 2:255 32 0]
s 0.01000 _3_ AGT --- 1733080622 diffusion 0
[0.00 0 0] --- [3:254 3:255 32 0]
r 0.01000 _3_ RTR --- 1733080622 diffusion 0
[0.00 0 0] --- [3:254 3:255 32 0]
s 0.01000 _4_ AGT --- 1486717601 diffusion 0
[0.00 0 0] --- [4:254 4:255 32 0]
r 0.01000 _4_ RTR --- 1486717601 diffusion 0
[0.00 0 0] --- [4:254 4:255 32 0]
s 0.01000 _5_ AGT --- 1454595779 diffusion 0
[0.00 0 0] --- [5:254 5:255 32 0]
r 0.01000 _5_ RTR --- 1454595779 diffusion 0
[0.00 0 0] --- [5:254 5:255 32 0]
s 0.01000 _6_ AGT --- 402363792 diffusion 0 [0.00
0 0] --- [6:254 6:255 32 0]
r 0.01000 _6_ RTR --- 402363792 diffusion 0 [0.00
0 0] --- [6:254 6:255 32 0]
s 0.01000 _7_ AGT --- 23210729 diffusion 0 [0.00
0 0] --- [7:254 7:255 32 0]
r 0.01000 _7_ RTR --- 23210729 diffusion 0 [0.00
0 0] --- [7:254 7:255 32 0]
s 0.01000 _8_ AGT --- 1500389329 diffusion 0
[0.00 0 0] --- [8:254 8:255 32 0]
r 0.01000 _8_ RTR --- 1500389329 diffusion 0
[0.00 0 0] --- [8:254 8:255 32 0]
Diffusion 0 does it mean no data sent ? I am just
confused because I have seen trace format like TCP 100
which means 100 bytes transferred.
I want to calculate the packets send and packets
received using diffusion protocol. I am getting the
diffusion 0 at AGT layer. I would be grateful if you
could give me some idea how to calculate the total
data sent and total data recieved by a particular
node. looking forward for your reply.
Yours sincerly,
Chitra Magar
East China University of Science and Technology
Shanghai China