[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/net/4bitle LinkEstimator.nc, 1.1, 1.2 LinkEstimatorP.nc, 1.3, 1.4

Omprakash Gnawali gnawali at users.sourceforge.net
Fri Nov 16 15:14:52 PST 2007


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

Modified Files:
	LinkEstimator.nc LinkEstimatorP.nc 
Log Message:
fix the get link quality interfaces to return 16 bit eetx values

Index: LinkEstimator.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/net/4bitle/LinkEstimator.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** LinkEstimator.nc	21 Sep 2007 06:34:04 -0000	1.1
--- LinkEstimator.nc	16 Nov 2007 23:14:49 -0000	1.2
***************
*** 36,40 ****
    
    /* get link quality for link to the neighbor */
!   command uint8_t getLinkQuality(uint16_t neighbor);
  
    /* insert this neighbor into the neighbor table */
--- 36,40 ----
    
    /* get link quality for link to the neighbor */
!   command uint16_t getLinkQuality(uint16_t neighbor);
  
    /* insert this neighbor into the neighbor table */

Index: LinkEstimatorP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/net/4bitle/LinkEstimatorP.nc,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** LinkEstimatorP.nc	27 Oct 2007 00:07:56 -0000	1.3
--- LinkEstimatorP.nc	16 Nov 2007 23:14:49 -0000	1.4
***************
*** 438,442 ****
  
    // return bi-directional link quality to the neighbor
!   command uint8_t LinkEstimator.getLinkQuality(am_addr_t neighbor) {
      uint8_t idx;
      idx = findIdx(neighbor);
--- 438,442 ----
  
    // return bi-directional link quality to the neighbor
!   command uint16_t LinkEstimator.getLinkQuality(am_addr_t neighbor) {
      uint8_t idx;
      idx = findIdx(neighbor);



More information about the Tinyos-2-commits mailing list