X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2FeyesIFX%2FRadioDataLinkC.nc;h=aa50a5ceec79760cf54e23484c9f2f781c36920c;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hp=379a0fa05165334bf2a5c13eb79c5113cf083672;hpb=1a329382c4f4556fd52d85f4e3f4a67e54911682;p=tinyos-2.x.git diff --git a/tos/platforms/eyesIFX/RadioDataLinkC.nc b/tos/platforms/eyesIFX/RadioDataLinkC.nc index 379a0fa0..aa50a5ce 100644 --- a/tos/platforms/eyesIFX/RadioDataLinkC.nc +++ b/tos/platforms/eyesIFX/RadioDataLinkC.nc @@ -49,17 +49,24 @@ implementation components //Change components below as desired Tda5250RadioC as Radio, //The actual Tda5250 radio over which data is receives/transmitted +#ifdef PHY_MANCHESTER + UartManchPhyC as UartPhy, +#else Uart4b6bPhyC as UartPhy, //The UartPhy turns Bits into Bytes +#endif PacketSerializerP as PacketSerializer, //The PacketSerializer turns Bytes into Packets +#ifdef MAC_REDMAC + RedMacC as Mac, //The MAC protocol to use +#elif defined(MAC_SPECKMACD) + SpeckMacDC as Mac, //The MAC protocol to use +#else CsmaMacC as Mac, //The MAC protocol to use +#endif LinkLayerC as Llc; //The Link Layer Control module to use //Don't change wirings below this point, just change which components - //They are compposed of in the list above + //They are compposed of in the list above - components MainC; - MainC.SoftwareInit -> PacketSerializer; - SplitControl = Llc; Llc.MacSplitControl -> Mac.SplitControl; Llc.RadioSplitControl -> Radio.SplitControl; @@ -85,4 +92,14 @@ implementation PacketSerializer.PhyPacketRx -> UartPhy.PhyPacketRx; UartPhy.RadioByteComm -> Radio.RadioByteComm; + +#ifndef RADIO_UART_VCO + components SmclkManagerC; +#endif + +#ifdef PACKETSERIALIZER_DEBUG + components new SerialDebugC() as SD; + PacketSerializer.SerialDebug -> SD; +#endif + }