[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/net DisseminationEngineP.nc, 1.1.2.2, 1.1.2.3

Phil Levis scipio at users.sourceforge.net
Wed Jun 7 14:21:13 PDT 2006


Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/net
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv21049

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	DisseminationEngineP.nc 
Log Message:
Remove dissemimation Leds.
                                                                                                     
Fix forwarder for two problems:
                                                                                                     
1) Allocating queue entries from the same pool as forwarding means that there
is no rate limiting on the client; clients have a separate pool, which is now
statically allocated as an array.
                                                                                                     
2) If a Send.send() accepted a packet to send but there was no route, then
it would hold onto the packet forever and not retry. In the "no route" case,
the forwarder sets a 10 second retransmit timer, so it will check if there is
a route 10 seconds later.
                                                                                                     
Increased the LE table to 8 from 5 entries. Some basic connectivity/percolation
theory asserts that you need a degree of 4.5 to have a fully connected network,
and so 5 is too close.


Index: DisseminationEngineP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/net/Attic/DisseminationEngineP.nc,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -d -r1.1.2.2 -r1.1.2.3
*** DisseminationEngineP.nc	2 Jun 2006 20:52:42 -0000	1.1.2.2
--- DisseminationEngineP.nc	7 Jun 2006 21:21:11 -0000	1.1.2.3
***************
*** 75,79 ****
    DisseminationEngineImplP.ProbeReceive -> DisseminationProbeReceiveC.Receive;
  
!   components LedsC;
!   DisseminationEngineImplP.Leds -> LedsC;
  }
--- 75,79 ----
    DisseminationEngineImplP.ProbeReceive -> DisseminationProbeReceiveC.Receive;
  
!   components NoLedsC;
!   DisseminationEngineImplP.Leds -> NoLedsC;
  }



More information about the Tinyos-2-commits mailing list