[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/rf230 RF230LayerP.nc, 1.22, 1.23
Miklos Maroti
mmaroti at users.sourceforge.net
Wed Feb 25 15:28:05 PST 2009
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/rf230 RadioChannel.nc, NONE, 1.1 MessageBufferLayerC.nc, 1.2, 1.3 MessageBufferLayerP.nc, 1.4, 1.5 RadioState.nc, 1.1, 1.2 RF230ActiveMessageC.nc, 1.6, 1.7 RF230LayerP.nc, 1.21, 1.22 TrafficMonitorLayerP.nc, 1.1, 1.2 RadioConfig.nc, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/rf230
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv9136
Modified Files:
RF230LayerP.nc
Log Message:
fix setChannel in SLEEP state
Index: RF230LayerP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/rf230/RF230LayerP.nc,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** RF230LayerP.nc 25 Feb 2009 20:44:02 -0000 1.22
--- RF230LayerP.nc 25 Feb 2009 23:27:59 -0000 1.23
***************
*** 325,328 ****
--- 325,331 ----
call IRQ.captureRisingEdge();
+ // setChannel was ignored in SLEEP because the SPI was not working, so do it here
+ writeRegister(RF230_PHY_CC_CCA, RF230_CCA_MODE_VALUE | channel);
+
writeRegister(RF230_TRX_STATE, RF230_RX_ON);
state = STATE_TRX_OFF_2_RX_ON;
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/rf230 RadioChannel.nc, NONE, 1.1 MessageBufferLayerC.nc, 1.2, 1.3 MessageBufferLayerP.nc, 1.4, 1.5 RadioState.nc, 1.1, 1.2 RF230ActiveMessageC.nc, 1.6, 1.7 RF230LayerP.nc, 1.21, 1.22 TrafficMonitorLayerP.nc, 1.1, 1.2 RadioConfig.nc, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-2-commits
mailing list