Hi,

In trying to find out and account for the delay between sending and
receiving a packet from node 1 to node 2, I have conducted few
experiments. Parameters and few observations are as follows:

ccaOn = FALSE; (Done manually in CC2420CsmaP.nc)
myInitialBackoff = 0; myCongestionBackoff = 0;(in CC2420TransmitP.nc)

message_t payload size: 77 bytes
number of nodes = 2; sending pkts from node 1 to node 2

Observations (by printing local time at various levels)

1. From AMSend.send(in application) to CC2420ActiveMessageP      - 4ms

2. From AMSend.send(in application) to CC2420TransmitP           - 5ms

3. From AMSend.send(in application) to AMSend.sendDone           - 15ms

4. Difference between the times printed before and after
if(AMSend.send(nexthop,msg,len) == SUCCESS)                      - 6ms

Since I cannot compare the times at the sender and receives due to issues
with synchronization, at the receiver I have

5. From CC2420Receive.receive to Receive.receive(in application) - 8ms

If the procedure followed is correct and the time values can be trusted
then most of the delay is occurring between AMSend.send in application and
CC2420ActiveMessageP.

I am trying to understand the functions of the AMQueueEntryP, AMQueueP and
AMQueueImplP components. Can somebody help me with this??

Regards,
--Deeksha

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to