+
configuration PlatformSerialC {
- provides interface Init;
+
provides interface StdControl;
- provides interface SerialByteComm;
+ provides interface UartStream;
+ provides interface UartByte;
+
}
-implementation {
- components new Uart1C() as UartC, TelosSerialP;
- Init = UartC;
- StdControl = UartC;
+implementation {
+
+ components new Msp430Uart1C() as UartC;
+ UartStream = UartC;
+ UartByte = UartC;
+
+ components TelosSerialP;
StdControl = TelosSerialP;
- SerialByteComm = UartC;
+ TelosSerialP.Msp430UartConfigure <- UartC.Msp430UartConfigure;
TelosSerialP.Resource -> UartC.Resource;
+
}