[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/iris/chips/rf230 HplRF230.h, 1.1, 1.2 HplRF230C.nc, 1.1, 1.2

Miklos Maroti mmaroti at users.sourceforge.net
Tue Feb 19 17:07:07 PST 2008


Update of /cvsroot/tinyos/tinyos-2.x/tos/platforms/iris/chips/rf230
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv1572/chips/rf230

Modified Files:
	HplRF230.h HplRF230C.nc 
Log Message:
timesync support

Index: HplRF230.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/iris/chips/rf230/HplRF230.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** HplRF230.h	5 Nov 2007 20:37:17 -0000	1.1
--- HplRF230.h	20 Feb 2008 01:07:04 -0000	1.2
***************
*** 58,60 ****
--- 58,70 ----
  #define RF230_ALARM_MICROSEC	((7.3728 / MHZ / 32.0) * (1 << MICA_DIVIDE_ONE_FOR_32KHZ_LOG2))
  
+ /* This is the default value of the TX_PWR field of the PHY_TX_PWR register. */
+ #ifndef RF230_DEF_RFPOWER
+ #define RF230_DEF_RFPOWER	0
+ #endif
+ 
+ /* This is the default value of the CHANNEL field of the PHY_CC_CCA register. */
+ #ifndef RF230_DEF_CHANNEL
+ #define RF230_DEF_CHANNEL	11
+ #endif
+ 
  #endif//__HPLRF230_H__

Index: HplRF230C.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/iris/chips/rf230/HplRF230C.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** HplRF230C.nc	5 Nov 2007 20:37:20 -0000	1.1
--- HplRF230C.nc	20 Feb 2008 01:07:04 -0000	1.2
***************
*** 69,75 ****
  	Alarm = AlarmC;
  
! 	// TODO: do these from PlatformC
! 	components RealMainP, RF230LayerC;
  	RealMainP.PlatformInit -> HplRF230P.PlatformInit;
- 	RealMainP.PlatformInit -> RF230LayerC.PlatformInit;
  }
--- 69,73 ----
  	Alarm = AlarmC;
  
! 	components RealMainP;
  	RealMainP.PlatformInit -> HplRF230P.PlatformInit;
  }



More information about the Tinyos-2-commits mailing list