[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/diku/evb13192/tos/chips/mc13192/ieee802154/phy mc13192PhyDriverM.nc, 1.1, 1.2

Jan Flora janflora at users.sourceforge.net
Sat Sep 16 10:52:27 PDT 2006


Update of /cvsroot/tinyos/tinyos-1.x/contrib/diku/evb13192/tos/chips/mc13192/ieee802154/phy
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv10095/tos/chips/mc13192/ieee802154/phy

Modified Files:
	mc13192PhyDriverM.nc 
Log Message:
802.15.4 GTS functionality updates

Index: mc13192PhyDriverM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/diku/evb13192/tos/chips/mc13192/ieee802154/phy/mc13192PhyDriverM.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** mc13192PhyDriverM.nc	23 Aug 2006 09:34:03 -0000	1.1
--- mc13192PhyDriverM.nc	16 Sep 2006 17:52:24 -0000	1.2
***************
*** 60,64 ****
  	// Level 2 = Function calls + return values.
  	// Level 3 = Extensive debug.
! 	#define DBG_LEVEL 0
  	#define DBG_MIN_LEVEL 1
  	#include "Debug.h"
--- 60,64 ----
  	// Level 2 = Function calls + return values.
  	// Level 3 = Extensive debug.
! 	#define DBG_LEVEL 1
  	#define DBG_MIN_LEVEL 1
  	#include "Debug.h"
***************
*** 771,774 ****
--- 771,775 ----
  				acking = FALSE;
  				isReceiving = FALSE;
+ 				//opMode = RX_OPERATION;
  				finishRx();
  				return;
***************
*** 804,814 ****
  		ENABLE_IRQ;
  		__nesc_enable_interrupt();
! 		
  		// Get new receive buffer.
  		rxPacket.frame = signal PhyReceive.dataReady(&rxPacket);
! 		if (opMode == RX_OPERATION) {
  			// The receiver still needs to be on.
  			enableReceiver(TRUE);
! 		}
  	}
  	
--- 805,817 ----
  		ENABLE_IRQ;
  		__nesc_enable_interrupt();
! 
  		// Get new receive buffer.
  		rxPacket.frame = signal PhyReceive.dataReady(&rxPacket);
! 
! 		// NOTE: How could opMode be other than RX???
! 		//if (opMode == RX_OPERATION) {
  			// The receiver still needs to be on.
  			enableReceiver(TRUE);
! 		//}
  	}
  	



More information about the Tinyos-contrib-commits mailing list