By default, the base station will filter out duplicate packets just like any
other node.  It will not display the retransmission attempts.

I've attached a few files you can drop into your tos/chips/cc2420/unique
directory that will bypass the UniqueReceive layer if RECEIVE_HISTORY_SIZE =
0.  This will stop the filtering of duplicate packets. 

Just do a CFLAGS+=-DRECEIVE_HISTORY_SIZE=0 in your BaseStation Makefile.

-David


 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Valencia
Sent: Monday, July 21, 2008 10:37 AM
To: tinyos-help@millennium.berkeley.edu
Subject: [Tinyos-help] PacketLink


When using the PacketLink interface, and a node requires retransmission of
a packet, if a BaseStation is being used to monitor network activity will
the BaseStation see all of the retransmission attempts?

As a simple test, I setup one node to transmit a packet using:

call PacketLink.setRetries(&Msg, 30);
call PacketLink.setRetryDelay(&Msg, 10);

before I send, and it transmits to a destination address of a mote that is
not on so I can force the retransmission.

I have a mote programmed with the BaseStation application and all the
BaseStation picks up is the initial packet sent by the mote but not the
re-transmissions.


-- 
Development environment:  CYGWIN
Platform:  TelosB (tinyos-2.x:  cvs disribution)

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Attachment: DummyReceiveP.nc
Description: Binary data

Attachment: UniqueReceive.h
Description: Binary data

Attachment: UniqueReceiveC.nc
Description: Binary data

Attachment: UniqueReceiveP.nc
Description: Binary data

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to