[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/net/le LinkEstimatorP.nc, 1.9, 1.10

Omprakash Gnawali gnawali at users.sourceforge.net
Tue Nov 13 00:36:31 PST 2007


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

Modified Files:
	LinkEstimatorP.nc 
Log Message:
ascii graphics that shows how we get to the head of the footer

Index: LinkEstimatorP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/net/le/LinkEstimatorP.nc,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** LinkEstimatorP.nc	27 Oct 2007 00:09:23 -0000	1.9
--- LinkEstimatorP.nc	13 Nov 2007 08:36:29 -0000	1.10
***************
*** 650,653 ****
--- 650,667 ----
        }
  
+ 
+       /* Graphical explanation of how we get to the head of the
+        * footer in the following code 
+        * <---------------------- payloadLen ------------------->
+        * -------------------------------------------------------
+        * linkest_header_t  | payload  | linkest_footer_t* ...|
+        * -------------------------------------------------------
+        * ^                              ^                      ^
+        * |                              |                      |
+        * subpayload                     |                      payloadEnd
+        *                                |
+        *                                payloadEnd - footersize*num footers
+       */
+ 
        if ((nidx != INVALID_RVAL) && (num_entries > 0)) {
  	uint8_t payloadLen = call SubPacket.payloadLength(msg);



More information about the Tinyos-2-commits mailing list