]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/rf230/RadioState.nc
implement getChannel and rename interface to RadioChannel
[tinyos-2.x.git] / tos / chips / rf230 / RadioState.nc
index 725438355583c44c1e68fcff4d955d183d53534c..cae77813cbb252591d057ac7ecb943fddb2913d6 100644 (file)
@@ -56,4 +56,9 @@ interface RadioState
         * transition and setChannel command when it is completed.
         */
        tasklet_async event void done();
+
+       /**
+        * Returns the currently selected channel.
+        */
+       tasklet_async command uint8_t getChannel();
 }