]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/IPBaseStation/BaseStationP.nc
Added support for BLIP on Mulle.
[tinyos-2.x.git] / apps / IPBaseStation / BaseStationP.nc
index 0a27e04ecf9c8e94346dd53ca50f5e5bac76c68f..92db034573332565ffcd251c8e78bf1db80c560d 100644 (file)
@@ -95,7 +95,7 @@ module BaseStationP {
     interface PacketLink;
     interface LowPowerListening;
 
-#ifdef PLATFORM_IRIS
+#if defined(PLATFORM_IRIS) || defined(PLATFORM_MULLE)
     interface RadioChannel;
 #else
     interface CC2420Config;
@@ -414,7 +414,7 @@ implementation
     case CONFIG_ECHO:
       break;
     case CONFIG_SET_PARM:
-#ifdef PLATFORM_IRIS
+#if defined(PLATFORM_IRIS) || defined(PLATFORM_MULLE)
       // we should check the return value, hope it works
       call RadioChannel.setChannel(cmd->rf.channel);
       call IPAddress.setShortAddr(cmd->rf.addr);
@@ -440,7 +440,7 @@ implementation
     return msg;
   }
 
-#ifdef PLATFORM_IRIS
+#if defined(PLATFORM_IRIS) || defined(PLATFORM_MULLE)
   event void RadioChannel.setChannelDone() { }
 #else
   event void CC2420Config.syncDone(error_t error) {