[Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/telosa PlatformSerialC.nc, 1.1.2.7, 1.1.2.8

Jonathan Hui jwhui at users.sourceforge.net
Tue Oct 10 12:18:44 PDT 2006


Update of /cvsroot/tinyos/tinyos-2.x/tos/platforms/telosa
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv7771/platforms/telosa

Modified Files:
      Tag: tinyos-2_0_devel-BRANCH
	PlatformSerialC.nc 
Log Message:

Match interfaces proposed in tep117.



Index: PlatformSerialC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/platforms/telosa/PlatformSerialC.nc,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -C2 -d -r1.1.2.7 -r1.1.2.8
*** PlatformSerialC.nc	6 Sep 2006 17:04:39 -0000	1.1.2.7
--- PlatformSerialC.nc	10 Oct 2006 19:18:42 -0000	1.1.2.8
***************
*** 1,13 ****
  
  configuration PlatformSerialC {
    provides interface StdControl;
!   provides interface SerialByteComm;
  }
- implementation {
-   components new Msp430Uart1C() as UartC, TelosSerialP;
  
    StdControl = TelosSerialP;
-   SerialByteComm = UartC;
    TelosSerialP.Msp430UartConfigure <- UartC.Msp430UartConfigure;
    TelosSerialP.Resource -> UartC.Resource;
  }
--- 1,19 ----
  
  configuration PlatformSerialC {
+   
    provides interface StdControl;
!   provides interface UartStream;
!   
  }
  
+ implementation {
+   
+   components new Msp430Uart1C() as UartC;
+   UartStream = UartC;  
+   
+   components TelosSerialP;
    StdControl = TelosSerialP;
    TelosSerialP.Msp430UartConfigure <- UartC.Msp430UartConfigure;
    TelosSerialP.Resource -> UartC.Resource;
+   
  }



More information about the Tinyos-2-commits mailing list